feat: Use BOOT button to enter audio testing state when Wi-Fi configuring

This commit is contained in:
Terrence
2025-06-13 19:56:47 +08:00
parent dfad6a5b2c
commit bf125446b3
5 changed files with 62 additions and 1 deletions

View File

@@ -220,6 +220,7 @@ void GpioLed::OnStateChanged() {
TurnOn();
break;
case kDeviceStateListening:
case kDeviceStateAudioTesting:
if (app.IsVoiceDetected()) {
SetBrightness(HIGH_BRIGHTNESS);
} else {