mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 14:13:42 -04:00
2ffb08b9ca
Like was done for AP_HAL_Linux in 2ac96b9
("AP_HAL_Linux: remove prefix
from AP_HAL_Linux classes"), remove the "Empty" prefix from class names
since we are already inside the Empty namespace.
20 lines
274 B
C++
20 lines
274 B
C++
|
|
#include <string.h>
|
|
#include "Storage.h"
|
|
|
|
using namespace Empty;
|
|
|
|
Storage::Storage()
|
|
{}
|
|
|
|
void Storage::init()
|
|
{}
|
|
|
|
void Storage::read_block(void* dst, uint16_t src, size_t n) {
|
|
memset(dst, 0, n);
|
|
}
|
|
|
|
void Storage::write_block(uint16_t loc, const void* src, size_t n)
|
|
{}
|
|
|