From ebb48dd6302abbd4929f009f14f09cc1d6f2e2da Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Sun, 20 Oct 2024 03:48:45 -0600 Subject: [PATCH] NRF52 examples: Buffer should be even # --- .../NRF52_Radio/NRF52_PWM_I2S_RadioRX/NRF52_PWM_I2S_RadioRX.ino | 2 +- .../NRF52_Radio/NRF52_SD_I2S_RadioTX/NRF52_SD_I2S_RadioTX.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Platforms/NRF52/NRF52_Radio/NRF52_PWM_I2S_RadioRX/NRF52_PWM_I2S_RadioRX.ino b/examples/Platforms/NRF52/NRF52_Radio/NRF52_PWM_I2S_RadioRX/NRF52_PWM_I2S_RadioRX.ino index a5a36f0..47d3b95 100644 --- a/examples/Platforms/NRF52/NRF52_Radio/NRF52_PWM_I2S_RadioRX/NRF52_PWM_I2S_RadioRX.ino +++ b/examples/Platforms/NRF52/NRF52_Radio/NRF52_PWM_I2S_RadioRX/NRF52_PWM_I2S_RadioRX.ino @@ -10,7 +10,7 @@ AutoAnalog aaAudio; nrf_to_nrf radio; uint8_t address[][6] = { "1Node", "2Node" }; -#define BUFFER_SIZE 125 +#define BUFFER_SIZE 124 #define USE_I2S 0 // Change to 1 to enable I2S output instead of PWM void setup() { diff --git a/examples/Platforms/NRF52/NRF52_Radio/NRF52_SD_I2S_RadioTX/NRF52_SD_I2S_RadioTX.ino b/examples/Platforms/NRF52/NRF52_Radio/NRF52_SD_I2S_RadioTX/NRF52_SD_I2S_RadioTX.ino index 9c809dd..6f23ba2 100644 --- a/examples/Platforms/NRF52/NRF52_Radio/NRF52_SD_I2S_RadioTX/NRF52_SD_I2S_RadioTX.ino +++ b/examples/Platforms/NRF52/NRF52_Radio/NRF52_SD_I2S_RadioTX/NRF52_SD_I2S_RadioTX.ino @@ -12,7 +12,7 @@ AutoAnalog aaAudio; nrf_to_nrf radio; uint8_t address[][6] = { "1Node", "2Node" }; -#define BUFFER_SIZE 125 +#define BUFFER_SIZE 124 #define USE_I2S 1 // Change to 0 to enable PWM output instead of I2S /*********************************************************/