mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
DataFlash: added get_structures() API
used in Replay
This commit is contained in:
parent
ac8c4d9beb
commit
d90a2f7deb
@ -78,6 +78,12 @@ public:
|
||||
bool NeedPrep();
|
||||
void Prep();
|
||||
|
||||
// get a pointer to structures
|
||||
const struct LogStructure *get_structures(uint8_t &num_types) {
|
||||
num_types = _num_types;
|
||||
return _structures;
|
||||
}
|
||||
|
||||
/* Write a block of data at current offset */
|
||||
void WriteBlock(const void *pBuffer, uint16_t size);
|
||||
/* Write an *important* block of data at current offset */
|
||||
|
Loading…
Reference in New Issue
Block a user