AP_HAL: added optional healthy check on storage object

used to check parameter storage is functional
This commit is contained in:
Andrew Tridgell 2018-06-30 08:48:22 +10:00
parent 3e5d5b4095
commit d35abe67ae
1 changed files with 1 additions and 0 deletions

View File

@ -9,4 +9,5 @@ public:
virtual void read_block(void *dst, uint16_t 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 bool healthy(void) { return true; }
};