mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
HAL_ChibiOS: disable thread_info in AP_Periph and bootloader
This commit is contained in:
1 parent
d82cd1363b
commit
6bacf021c8
3 files changed
+11
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user