ardupilot/libraries/AP_HAL_Empty/Storage.h

16 lines
363 B
C++

#ifndef __AP_HAL_EMPTY_STORAGE_H__
#define __AP_HAL_EMPTY_STORAGE_H__
#include <AP_HAL_Empty.h>
class Empty::EmptyStorage : public AP_HAL::Storage {
public:
EmptyStorage();
void init(void *);
void read_block(void *dst, uint16_t src, size_t n);
void write_block(uint16_t dst, const void* src, size_t n);
};
#endif // __AP_HAL_EMPTY_STORAGE_H__