mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
Print ChibiOS Debug mode message only if the debug mode is ON
This commit is contained in:
@@ -60,6 +60,7 @@ Q=@
|
||||
RTOS_DEBUG ?= 0
|
||||
|
||||
ifeq (,$(findstring $(RTOS_DEBUG),0 FALSE))
|
||||
$(info ChibiOS Debug mode is ON)
|
||||
$(TARGET).CFLAGS += \
|
||||
-DCH_DBG_STATISTICS=TRUE \
|
||||
-DCH_DBG_SYSTEM_STATE_CHECK=TRUE \
|
||||
|
||||
Reference in New Issue
Block a user