Skip to content

Commit

Permalink
don't rely on RF24 lib'sIF_SERIAL_DEBUG define
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jun 15, 2024
1 parent 2d55d77 commit bed8b9e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RF24Network_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bed8b9e

Please sign in to comment.