Skip to content

Commit 616919e

Browse files
committed
Fix logging
1 parent dad145f commit 616919e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ static void start_network_manager() {
167167
LOG("Hostname: %s\n", espConnectConfig.hostname.c_str());
168168
if (espConnectConfig.apMode) {
169169
LOG("AP: %s\n", espConnectConfig.hostname.c_str());
170-
} else if (espConnect.getWiFiSSID().length()) {
170+
} else if (espConnectConfig.wifiBSSID.length()) {
171171
LOG("SSID: %s\n", espConnectConfig.wifiSSID.c_str());
172172
LOG("BSSID: %s\n", espConnectConfig.wifiBSSID.c_str());
173173
}

0 commit comments

Comments
 (0)