mirror of
https://github.com/okalachev/flix.git
synced 2026-08-15 16:29:00 +00:00
Fix printing espnow channel number in wifi command
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ void printWiFiInfo() {
|
||||
print("MAC: %s\n", WiFi.softAPmacAddress().c_str());
|
||||
print("Peer MAC: %s\n", MacAddress(espnow.addr()).toString().c_str());
|
||||
print("Encrypted: %d\n", espnow.isEncrypted());
|
||||
print("Channel: %d\n", espnow.getChannel());
|
||||
print("Channel: %d\n", WiFi.channel());
|
||||
print("Lost packets: %d\n", espnow.lost);
|
||||
} else if (WiFi.getMode() == WIFI_MODE_AP) {
|
||||
print("Mode: Access Point (AP)\n");
|
||||
|
||||
Reference in New Issue
Block a user