add toggle mode to lichuang dev boards

This commit is contained in:
Terrence
2025-01-20 10:47:01 +08:00
parent 3c719d5c91
commit a4a06cf76d
2 changed files with 2 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ private:
if (app.GetDeviceState() == kDeviceStateStarting && !WifiStation::GetInstance().IsConnected()) {
ResetWifiConfiguration();
}
app.ToggleChatState();
});
boot_button_.OnPressDown([this]() {
Application::GetInstance().StartListening();

View File

@@ -76,6 +76,7 @@ private:
if (app.GetDeviceState() == kDeviceStateStarting && !WifiStation::GetInstance().IsConnected()) {
ResetWifiConfiguration();
}
app.ToggleChatState();
});
boot_button_.OnPressDown([this]() {
Application::GetInstance().StartListening();