From 902ffd9bc5e28a06c950bdd1e07b8cd67a42e31e Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Thu, 21 Dec 2023 07:57:16 -0600 Subject: [PATCH] Fix some compiler warnings/bugs --- src/NRF52840/AutoAnalogAudio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NRF52840/AutoAnalogAudio.cpp b/src/NRF52840/AutoAnalogAudio.cpp index c5dc7c7..3fb8dc1 100644 --- a/src/NRF52840/AutoAnalogAudio.cpp +++ b/src/NRF52840/AutoAnalogAudio.cpp @@ -277,7 +277,7 @@ void AutoAnalog::feedDAC(uint8_t dacChannel, uint32_t samples, bool startInterru if(dacBitsPerSample > 8){ memcpy(dacBuf0, dacBuffer16, samples); }else{ - for(int i=0; i