Browse Source

HAL_ChibiOS: fixed build warning

zr-v5.1
Andrew Tridgell 5 years ago
parent
commit
3ec2ef787d
  1. 2
      libraries/AP_HAL_ChibiOS/hwdef/common/chconf.h

2
libraries/AP_HAL_ChibiOS/hwdef/common/chconf.h

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

Loading…
Cancel
Save