mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Bootloader: fix virtual timer interface
This commit is contained in:
parent
07532eaf2f
commit
7884694771
@ -163,7 +163,7 @@ extern AP_FlashIface_JEDEC ext_flash;
|
||||
/*
|
||||
1ms timer tick callback
|
||||
*/
|
||||
static void sys_tick_handler(void *ctx)
|
||||
static void sys_tick_handler(virtual_timer_t* vt, void *ctx)
|
||||
{
|
||||
chSysLockFromISR();
|
||||
chVTSetI(&systick_vt, chTimeMS2I(1), sys_tick_handler, nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user