ardupilot/libraries/AP_HAL_Empty/Storage.cpp

20 lines
304 B
C++
Raw Permalink Normal View History

#include <string.h>
#include "Storage.h"
using namespace Empty;
EmptyStorage::EmptyStorage()
{}
void EmptyStorage::init(void*)
{}
void EmptyStorage::read_block(void* dst, uint16_t src, size_t n) {
memset(dst, 0, n);
}
void EmptyStorage::write_block(uint16_t loc, const void* src, size_t n)
{}