mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 01:28:29 -04:00
HAL_ChibiOS: Storage::_timer_tick is an override
This commit is contained in:
parent
713006bb1d
commit
ecce2a73d0
@ -346,7 +346,7 @@ void Scheduler::_storage_thread(void* arg)
|
|||||||
sched->delay_microseconds(10000);
|
sched->delay_microseconds(10000);
|
||||||
|
|
||||||
// process any pending storage writes
|
// process any pending storage writes
|
||||||
((Storage *)hal.storage)->_timer_tick();
|
hal.storage->_timer_tick();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ public:
|
|||||||
void read_block(void *dst, uint16_t src, size_t n);
|
void read_block(void *dst, uint16_t src, size_t n);
|
||||||
void write_block(uint16_t dst, const void* 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:
|
private:
|
||||||
volatile bool _initialised;
|
volatile bool _initialised;
|
||||||
|
Loading…
Reference in New Issue
Block a user