ardupilot/libraries/AP_HAL_AVR/Storage.h

18 lines
421 B
C
Raw Normal View History

#ifndef __AP_HAL_AVR_STORAGE_H__
#define __AP_HAL_AVR_STORAGE_H__
#include <AP_HAL/AP_HAL.h>
2012-08-22 21:31:52 -03:00
#include "AP_HAL_AVR_Namespace.h"
class AP_HAL_AVR::AVREEPROMStorage : public AP_HAL::Storage {
public:
AVREEPROMStorage() {}
2012-11-12 15:05:20 -04:00
void init(void* machtnichts) {}
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_AVR_STORAGE_H__