AP_Bootloader: fix virtual timer interface

This commit is contained in:
Andy Piper 2022-11-11 09:35:42 +00:00 committed by Andrew Tridgell
parent 07532eaf2f
commit 7884694771

View File

@ -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);