diff --git a/libraries/AP_HAL_ChibiOS/hwdef/common/chconf.h b/libraries/AP_HAL_ChibiOS/hwdef/common/chconf.h index b3cb0f3c14..831f5dd352 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/common/chconf.h +++ b/libraries/AP_HAL_ChibiOS/hwdef/common/chconf.h @@ -735,7 +735,7 @@ * @details This hook is invoked when we have a stack overflow on task switch */ #define CH_CFG_STACK_OVERFLOW_HOOK(tp) { \ - extern void stack_overflow_hook(thread_t *tp); \ + extern void stack_overflow(thread_t *tp); \ stack_overflow(tp); \ }