Browse Source

HAL_ChibiOS: fixed bootloader build

zr-v5.1
Andrew Tridgell 5 years ago
parent
commit
d82cd1363b
  1. 2
      libraries/AP_HAL_ChibiOS/Util.cpp

2
libraries/AP_HAL_ChibiOS/Util.cpp

@ -304,6 +304,7 @@ bool Util::was_watchdog_reset() const @@ -304,6 +304,7 @@ bool Util::was_watchdog_reset() const
return stm32_was_watchdog_reset();
}
#if CH_DBG_ENABLE_STACK_CHECK == TRUE && !defined(HAL_BOOTLOADER_BUILD)
/*
display stack usage as text buffer for @SYS/threads.txt
*/
@ -342,3 +343,4 @@ size_t Util::thread_info(char *buf, size_t bufsize) @@ -342,3 +343,4 @@ size_t Util::thread_info(char *buf, size_t bufsize)
return total;
}
#endif

Loading…
Cancel
Save