diff --git a/firmware/chibios/os/kernel/src/chsys.c b/firmware/chibios/os/kernel/src/chsys.c index f26218d6..2bc3110a 100755 --- a/firmware/chibios/os/kernel/src/chsys.c +++ b/firmware/chibios/os/kernel/src/chsys.c @@ -119,7 +119,7 @@ void chSysInit(void) { serve interrupts in its context while keeping the lowest energy saving mode compatible with the system status.*/ chThdCreateStatic(_idle_thread_wa, sizeof(_idle_thread_wa), IDLEPRIO, - (tfunc_t)_idle_thread, NULL); + (void *)_idle_thread, NULL); #endif }