AP_HAL: add get_storage_ptr method

This commit is contained in:
bugobliterator 2021-11-08 19:49:20 +05:30 committed by Andrew Tridgell
parent 528e57c2ae
commit 6d4ac999d0
1 changed files with 1 additions and 0 deletions

View File

@ -11,4 +11,5 @@ public:
virtual void write_block(uint16_t dst, const void* src, size_t n) = 0; virtual void write_block(uint16_t dst, const void* src, size_t n) = 0;
virtual void _timer_tick(void) {}; virtual void _timer_tick(void) {};
virtual bool healthy(void) { return true; } virtual bool healthy(void) { return true; }
virtual bool get_storage_ptr(void *&ptr, size_t &size) { return false; }
}; };