From bed8b9e1a67b5578e258af10714deb703757d664 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Sat, 15 Jun 2024 08:40:59 -0700 Subject: [PATCH] don't rely on RF24 lib'sIF_SERIAL_DEBUG define --- RF24Network_config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RF24Network_config.h b/RF24Network_config.h index 861a5055..9ef238eb 100644 --- a/RF24Network_config.h +++ b/RF24Network_config.h @@ -130,6 +130,11 @@ #endif #endif +#ifdef RF24NETWORK_DEBUG + #define IF_RF24NETWORK_DEBUG(x) ({ x; }) +#else + #define IF_RF24NETWORK_DEBUG(x) +#endif #if defined(RF24NETWORK_DEBUG_MINIMAL) #define IF_RF24NETWORK_DEBUG_MINIMAL(x) ({ x; }) #else