Skip to content

Commit

Permalink
Minor changes, revert from testing
Browse files Browse the repository at this point in the history
  • Loading branch information
TMRh20 committed Apr 2, 2024
1 parent e654fa8 commit f41d0f5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/AutoAnalogAudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,15 @@ class AutoAnalog
inline static void adcCallback(uint16_t *buf, uint32_t buf_len);
inline static void set_callback(void(*function)(uint16_t *buf, uint32_t buf_len));
inline static bool adcReady;
inline static int16_t dacBuf0[MAX_BUFFER_SIZE];
inline static int16_t dacBuf1[MAX_BUFFER_SIZE];
inline static uint16_t dacBuf0[MAX_BUFFER_SIZE];
inline static uint16_t dacBuf1[MAX_BUFFER_SIZE];
bool micOn;
int pwrPin;
int dinPin;
int clkPin;
int8_t gain;
inline static uint32_t sampleCounter;

#elif defined (ARDUINO_ARCH_NRF52840) || defined (ARDUINO_ARCH_NRF52) || defined (ARDUINO_NRF52840_FEATHER) && !defined __MBED__
uint16_t dacBuf0[MAX_BUFFER_SIZE];
uint16_t dacBuf1[MAX_BUFFER_SIZE];
Expand All @@ -225,6 +226,7 @@ class AutoAnalog
int clkPin;
int8_t gain;
uint32_t sampleCounter;
//void DACC_Handler();
#endif

private:
Expand Down

0 comments on commit f41d0f5

Please sign in to comment.