Skip to content

Commit

Permalink
Fix stuff I broke in prev commits
Browse files Browse the repository at this point in the history
  • Loading branch information
TMRh20 committed Oct 20, 2024
1 parent f505d08 commit 08178aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/avr/AutoAnalogAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ AutoAnalog::AutoAnalog(){
adcSampleCounter = 0;
}

void AutoAnalog::begin(bool enADC, bool enDAC){
void AutoAnalog::begin(bool enADC, bool enDAC, uint8_t _useI2S){

if(enADC){
analogRead(A0);
Expand All @@ -73,7 +73,7 @@ void AutoAnalog::begin(bool enADC, bool enDAC){

/****************************************************************************/

void AutoAnalog::setSampleRate(uint32_t sampRate, bool stereo = true){
void AutoAnalog::setSampleRate(uint32_t sampRate, bool stereo){


if(sampRate > 0){
Expand Down
2 changes: 1 addition & 1 deletion src/esp32/AutoAnalogAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void dacTask(void *args){

/****************************************************************************/

void AutoAnalog::begin(bool enADC, bool enDAC){
void AutoAnalog::begin(bool enADC, bool enDAC, uint8_t _useI2S){

i2s_mode_t myMode = (i2s_mode_t)I2S_MODE_MASTER;

Expand Down
2 changes: 1 addition & 1 deletion src/sam/AutoAnalogAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ AutoAnalog::AutoAnalog(){
adcNumSamples = 0;
}

void AutoAnalog::begin(bool enADC, bool enDAC){
void AutoAnalog::begin(bool enADC, bool enDAC, uint8_t _useI2S){

if(enADC){
adcSetup();
Expand Down

0 comments on commit 08178aa

Please sign in to comment.