forked from xiaozhi/xiaozhi-esp32
feat: Use BOOT button to enter audio testing state when Wi-Fi configuring
This commit is contained in:
@@ -220,6 +220,7 @@ void GpioLed::OnStateChanged() {
|
||||
TurnOn();
|
||||
break;
|
||||
case kDeviceStateListening:
|
||||
case kDeviceStateAudioTesting:
|
||||
if (app.IsVoiceDetected()) {
|
||||
SetBrightness(HIGH_BRIGHTNESS);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user