HAL_ChibiOS: fixed build warning

This commit is contained in:
Andrew Tridgell 2020-04-29 09:57:45 +10:00
parent f00392d567
commit 3ec2ef787d

View File

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