diff --git a/platforms/nuttx/src/px4/stm/stm32_common/dshot/CMakeLists.txt b/platforms/nuttx/src/px4/stm/stm32_common/dshot/CMakeLists.txt index c256ce43d26c..f63e8e82a0a2 100644 --- a/platforms/nuttx/src/px4/stm/stm32_common/dshot/CMakeLists.txt +++ b/platforms/nuttx/src/px4/stm/stm32_common/dshot/CMakeLists.txt @@ -34,5 +34,5 @@ px4_add_library(arch_dshot dshot.c ) -target_compile_options(arch_dshot PRIVATE ${MAX_CUSTOM_OPT_LEVEL} -DDEBUG_BUILD) +target_compile_options(arch_dshot PRIVATE ${MAX_CUSTOM_OPT_LEVEL}) # target_compile_options(arch_dshot PRIVATE ${MAX_CUSTOM_OPT_LEVEL})