Skip to content

Commit 0232386

Browse files
committed
ESP32 Analog Audio: Douplex Mode proper error message
1 parent f9d2de7 commit 0232386

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AudioTools/CoreAudio/AudioAnalog/AnalogDriverESP32V1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class AnalogDriverESP32V1 : public AnalogDriverBase {
5757
active_rx = true;
5858
break;
5959
default:
60-
LOGE("mode");
60+
LOGE( "Unsupported MODE: %d", cfg.rx_tx_mode);
6161
return false;
6262
}
6363

src/AudioTools/CoreAudio/AudioAnalog/AnalogDriverESP32V2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class AnalogDriverESP32V1 : public AnalogDriverBase {
5757
active_rx = true;
5858
break;
5959
default:
60-
LOGE("mode");
60+
LOGE( "Unsupported MODE: %d", cfg.rx_tx_mode);
6161
return false;
6262
}
6363

0 commit comments

Comments
 (0)