HAL_ChibiOS: disable thread_info in AP_Periph and bootloader

This commit is contained in:
Andrew Tridgell committed 2020-04-29 07:36:55 +10:00
1 parent d82cd1363b
commit 6bacf021c8
3 files changed
+11 -2

No files matched your search

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