diff --git a/RF24 b/RF24 index c200b7c..0aac3d5 160000 --- a/RF24 +++ b/RF24 @@ -1 +1 @@ -Subproject commit c200b7cc8e13e70a2ae40bed8e4364de35c891d9 +Subproject commit 0aac3d58e54c10d4adef351366217577456b6f50 diff --git a/cmake/using_flags.cmake b/cmake/using_flags.cmake index b1eda4c..0aaa7a5 100644 --- a/cmake/using_flags.cmake +++ b/cmake/using_flags.cmake @@ -1,7 +1,7 @@ # ###################### DEBUG (& EXTRA) FLAGS ###################### # ## RF24 core specific options -# option(RF24_DEBUG "enable/disable debugging output for RF24 lib" OFF) +option(RF24_DEBUG "enable/disable debugging output for RF24 lib" OFF) # ## RF24Network specific options option(RF24NETWORK_DEBUG "enable/disable debugging output for RF24Network lib" OFF) @@ -64,10 +64,10 @@ option(MESH_DEBUG_MINIMAL "enable/disable minimal debugging output for RF24Mesh # function to apply flags to applicable targets function(apply_flags target) # apply RF24 flags to cpp_rf24 target - # if(RF24_DEBUG) - # message(STATUS "RF24_DEBUG asserted for ${target}") - # target_compile_definitions(${target} PUBLIC SERIAL_DEBUG) - # endif() + if(RF24_DEBUG) + message(STATUS "RF24_DEBUG asserted for ${target}") + target_compile_definitions(${target} PUBLIC SERIAL_DEBUG) + endif() # pass driver used to expose as a constant in rf24 module. target_compile_definitions(${target} PUBLIC RF24_DRIVER="${RF24_DRIVER}")