2012-12-14 21:55:38 -04:00
|
|
|
|
|
|
|
#ifndef __AP_HAL_EMPTY_STORAGE_H__
|
|
|
|
#define __AP_HAL_EMPTY_STORAGE_H__
|
|
|
|
|
2015-08-11 03:28:43 -03:00
|
|
|
#include "AP_HAL_Empty.h"
|
2012-12-14 21:55:38 -04:00
|
|
|
|
2015-12-07 14:53:55 -04:00
|
|
|
class Empty::Storage : public AP_HAL::Storage {
|
2012-12-17 15:07:26 -04:00
|
|
|
public:
|
2015-12-07 14:53:55 -04:00
|
|
|
Storage();
|
2015-12-02 11:14:20 -04:00
|
|
|
void init();
|
2014-08-13 01:59:28 -03:00
|
|
|
void read_block(void *dst, uint16_t src, size_t n);
|
2013-06-04 01:02:13 -03:00
|
|
|
void write_block(uint16_t dst, const void* src, size_t n);
|
2012-12-14 21:55:38 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __AP_HAL_EMPTY_STORAGE_H__
|