From c7ce86955aa7e4a77e09a5ba6eec2ba2cdf35770 Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Tue, 5 Nov 2024 15:01:45 -0600 Subject: [PATCH] nRF52: Forgot to add vars for MBED --- src/AutoAnalogAudio.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/AutoAnalogAudio.h b/src/AutoAnalogAudio.h index 6676e1b..cbb4321 100644 --- a/src/AutoAnalogAudio.h +++ b/src/AutoAnalogAudio.h @@ -215,6 +215,10 @@ class AutoAnalog inline static uint16_t *dacBuf0; inline static uint16_t *dacBuf1; inline static uint32_t sampleCounter; + uint8_t enableADC; + uint8_t enableDAC; + bool whichBuf; + bool adcWhichBuf; #elif defined (ARDUINO_ARCH_NRF52840) || defined (ARDUINO_ARCH_NRF52) || defined (ARDUINO_NRF52840_FEATHER) && !defined __MBED__ uint16_t *dacBuf0;