APM:Libraries
libraries
AP_HAL_Empty
Storage.cpp
Go to the documentation of this file.
1
2
#include <string.h>
3
#include "
Storage.h
"
4
5
using namespace
Empty
;
6
7
Storage::Storage
()
8
{}
9
10
void
Storage::init
()
11
{}
12
13
void
Storage::read_block
(
void
* dst, uint16_t src,
size_t
n) {
14
memset(dst, 0, n);
15
}
16
17
void
Storage::write_block
(uint16_t loc,
const
void
* src,
size_t
n)
18
{}
19
Empty::Storage::Storage
Storage()
Definition:
Storage.cpp:7
Empty
Definition:
AP_HAL_Empty_Namespace.h:3
Storage.h
Empty::Storage::init
void init()
Definition:
Storage.cpp:10
Empty::Storage::write_block
void write_block(uint16_t dst, const void *src, size_t n)
Definition:
Storage.cpp:17
Empty::Storage::read_block
void read_block(void *dst, uint16_t src, size_t n)
Definition:
Storage.cpp:13
Generated on Sun Jun 17 2018 14:18:48 for APM:Libraries by
1.8.13