From 472ba5bde729932a04a220a6ddb5dd47b2d89c97 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 27 Jan 2018 13:30:45 +1100 Subject: [PATCH] AP_HAL: make _timer_tick() in Storage available in all HALs this makes using the Empty::Storage easier --- libraries/AP_HAL/Storage.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_HAL/Storage.h b/libraries/AP_HAL/Storage.h index 15c3617a46..a07f65c891 100644 --- a/libraries/AP_HAL/Storage.h +++ b/libraries/AP_HAL/Storage.h @@ -8,4 +8,5 @@ public: virtual void init() = 0; 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) {}; };