Hide YAML traces behind DEBUG_YAML

This commit is contained in:
Raphael Coeffic
2021-11-10 11:06:59 +01:00
parent 09738f365d
commit fcab8f2b24
4 changed files with 22 additions and 11 deletions
+5
View File
@@ -44,6 +44,7 @@ option(TEMPLATES "Model templates menu" OFF)
option(TRACE_SIMPGMSPACE "Turn on traces in simpgmspace.cpp" ON)
option(TRACE_LUA_INTERNALS "Turn on traces for Lua internals" OFF)
option(DEBUG_WINDOWS "Turn on windows traces" OFF)
option(DEBUG_YAML "Turn on YAML traces" OFF)
option(FRSKY_STICKS "Reverse sticks for FrSky sticks" OFF)
option(NANO "Use nano newlib and binalloc")
option(TEST_BUILD_WARNING "Warn this is a test build" OFF)
@@ -377,6 +378,10 @@ if(DEBUG_WINDOWS)
add_definitions(-DDEBUG_WINDOWS)
endif()
if(DEBUG_YAML)
add_definitions(-DDEBUG_YAML)
endif()
if(FRSKY_STICKS)
add_definitions(-DFRSKY_STICKS)
endif()