From e60d6eac7ca43541f40ca55362dadd3529f59ec1 Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Sun, 2 Aug 2015 09:34:06 -0600 Subject: [PATCH] Fix for ATtiny - buffer size declaration https://github.com/TMRh20/RF24Mesh/issues/32 --- RF24Network_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RF24Network_config.h b/RF24Network_config.h index 66b4160d..95903327 100644 --- a/RF24Network_config.h +++ b/RF24Network_config.h @@ -83,8 +83,8 @@ //#define ENABLE_SLEEP_MODE //AVR only #define RF24NetworkMulticast #define DISABLE_FRAGMENTATION - //#define MAX_PAYLOAD_SIZE 96 - #define NUM_USER_PAYLOADS 3 + #define MAIN_BUFFER_SIZE 96 + 10 + //#define MAX_PAYLOAD_SIZE MAIN_BUFFER_SIZE-10 //#define DISABLE_USER_PAYLOADS #endif /*************************************/