forked from xiaozhi/xiaozhi-esp32
fix boot button
This commit is contained in:
@@ -44,6 +44,7 @@ private:
|
|||||||
if (app.GetChatState() == kChatStateUnknown && !WifiStation::GetInstance().IsConnected()) {
|
if (app.GetChatState() == kChatStateUnknown && !WifiStation::GetInstance().IsConnected()) {
|
||||||
ResetWifiConfiguration();
|
ResetWifiConfiguration();
|
||||||
}
|
}
|
||||||
|
app.ToggleChatState();
|
||||||
});
|
});
|
||||||
touch_button_.OnPressDown([this]() {
|
touch_button_.OnPressDown([this]() {
|
||||||
Application::GetInstance().StartListening();
|
Application::GetInstance().StartListening();
|
||||||
|
|||||||
Reference in New Issue
Block a user