From f031cf3046091818412e7d35c6e9a8a63b7e268c Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Sat, 18 Jul 2026 14:16:33 +0300 Subject: [PATCH] Fix printing espnow channel number in wifi command --- flix/wifi.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flix/wifi.ino b/flix/wifi.ino index eea9d8a..62b1649 100644 --- a/flix/wifi.ino +++ b/flix/wifi.ino @@ -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");