From a756516173f28bf137f8e02a9d4dd47f655e754c Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Sat, 29 Aug 2026 21:47:48 -0600 Subject: [PATCH] Add Zephyr support - Fix for Zephyr Project based boards --- RF24Network_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RF24Network_config.h b/RF24Network_config.h index e4b4585e..d286499e 100644 --- a/RF24Network_config.h +++ b/RF24Network_config.h @@ -61,7 +61,7 @@ * the actual transmitted payload to 24 bytes (which is also the default behavior on ATTiny devices). */ #ifndef MAX_PAYLOAD_SIZE - #if defined linux || defined __linux || !defined F_CPU || F_CPU >= 45000000 + #if defined linux || defined __linux || !defined F_CPU || F_CPU >= 45000000 || defined __ZEPHYR__ #define MAX_PAYLOAD_SIZE 1514 #else #define MAX_PAYLOAD_SIZE 144