From 970ae24a213b578ec67048f2622b674264effc90 Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Wed, 19 Jun 2024 09:12:23 -0600 Subject: [PATCH] Fix: Need NUM_PIPES defined for all devices (#231) --- RF24Network_config.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/RF24Network_config.h b/RF24Network_config.h index 9ef238eb..a46a707e 100644 --- a/RF24Network_config.h +++ b/RF24Network_config.h @@ -34,6 +34,12 @@ #define SLOW_ADDR_POLL_RESPONSE 10 #endif // defined DOXYGEN_FORCED +/** The number of 'pipes' available for addressing in the current device + * Networks with NRF24L01 devices only have 6 pipes + * NRF52x networks support up to 8 pipes + */ +#define NUM_PIPES 6 + #if !defined(__AVR_ATtiny85__) && !defined(__AVR_ATtiny84__) /********** USER CONFIG - non ATTiny **************/ @@ -82,12 +88,6 @@ #define ENABLE_DYNAMIC_PAYLOADS #endif // DISABLE_DYNAMIC_PAYLOADS - /** The number of 'pipes' available for addressing in the current device - * Networks with NRF24L01 devices only have 6 pipes - * NRF52x networks support up to 8 pipes - */ - #define NUM_PIPES 6 - /* Debug Options */ //#define RF24NETWORK_DEBUG //#define RF24NETWORK_DEBUG_MINIMAL