Skip to content

Commit 54a5e59

Browse files
committed
Setup AP mode when the wifi SSID is empty
1 parent df765bc commit 54a5e59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

firmware/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ void setup() {
181181

182182
WifiInfo wi;
183183
ConfigStore::LoadWifiInfo(wi);
184-
if (!InitializeWifiInStationMode(wi)) {
184+
if (wi.GetSSID() == "" || !InitializeWifiInStationMode(wi)) {
185185
InitializeWifiInApMode();
186186
}
187187

0 commit comments

Comments
 (0)