From 788469477113054443a26c50080d027ab59542fe Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Fri, 11 Nov 2022 09:35:42 +0000 Subject: [PATCH] AP_Bootloader: fix virtual timer interface --- Tools/AP_Bootloader/bl_protocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/AP_Bootloader/bl_protocol.cpp b/Tools/AP_Bootloader/bl_protocol.cpp index c0b7171a20..c4577cd231 100644 --- a/Tools/AP_Bootloader/bl_protocol.cpp +++ b/Tools/AP_Bootloader/bl_protocol.cpp @@ -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);