mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-02-08 20:09:13 +08:00
HAL_Linux: Storage::_timer_tick is an override
This commit is contained in:
@@ -340,7 +340,7 @@ void Scheduler::_tonealarm_task()
|
||||
void Scheduler::_io_task()
|
||||
{
|
||||
// process any pending storage writes
|
||||
Storage::from(hal.storage)->_timer_tick();
|
||||
hal.storage->_timer_tick();
|
||||
|
||||
// run registered IO processes
|
||||
_run_io();
|
||||
|
||||
@@ -30,7 +30,8 @@ public:
|
||||
void write_dword(uint16_t loc, uint32_t value);
|
||||
void write_block(uint16_t dst, const void* src, size_t n);
|
||||
|
||||
virtual void _timer_tick(void);
|
||||
virtual void _timer_tick(void) override;
|
||||
|
||||
protected:
|
||||
void _mark_dirty(uint16_t loc, uint16_t length);
|
||||
virtual void _storage_create(void);
|
||||
|
||||
Reference in New Issue
Block a user