From 3ec2ef787d5f26a2a7399d60b7ab26a083f4d3b5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 29 Apr 2020 09:57:45 +1000 Subject: [PATCH] HAL_ChibiOS: fixed build warning --- libraries/AP_HAL_ChibiOS/hwdef/common/chconf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); \ }