fix: allow compilation of BW radio when DEBUG=Y (#4708)

Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
3djc
2024-03-30 11:49:15 +10:00
committed by GitHub
co-authored by raphaelcoeffic
parent d73d88a10b
commit 0b3ced8e55
4 changed files with 26 additions and 7 deletions
@@ -178,10 +178,6 @@ if(ENABLE_SERIAL_PASSTHROUGH)
add_definitions(-DENABLE_SERIAL_PASSTHROUGH)
endif()
if(DEBUG)
add_definitions(-DDEBUG)
endif()
if(HAPTIC)
add_definitions(-DHAPTIC)
set(SRC ${SRC} haptic.cpp)