HAL_ChibiOS: Storage::_timer_tick is an override

This commit is contained in:
Andrew Tridgell 2018-01-27 13:32:58 +11:00
parent 713006bb1d
commit ecce2a73d0
2 changed files with 2 additions and 2 deletions

View File

@ -346,7 +346,7 @@ void Scheduler::_storage_thread(void* arg)
sched->delay_microseconds(10000);
// process any pending storage writes
((Storage *)hal.storage)->_timer_tick();
hal.storage->_timer_tick();
}
}

View File

@ -38,7 +38,7 @@ public:
void read_block(void *dst, uint16_t src, size_t n);
void write_block(uint16_t dst, const void* src, size_t n);
void _timer_tick(void);
void _timer_tick(void) override;
private:
volatile bool _initialised;