From 8a813c2a1ecdc1eb40965dc4853d78bc9068a642 Mon Sep 17 00:00:00 2001 From: travis-farmer Date: Fri, 3 Nov 2023 14:11:55 -0400 Subject: [PATCH] updating current, still crashes --- Wifi_NINA.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Wifi_NINA.cpp b/Wifi_NINA.cpp index 46acfd4..5f8048d 100644 --- a/Wifi_NINA.cpp +++ b/Wifi_NINA.cpp @@ -149,7 +149,7 @@ bool WifiNINA::setup(const char *SSid, } if (WiFi.status() == WL_CONNECTED) { // String ip_str = sprintf("%xl", WiFi.localIP()); - DIAG(F("Wifi STA IP %d.%d.%d.%d"), WiFi.localIP()[0], WiFi.localIP()[1],WiFi.localIP()[2],WiFi.localIP()[3],WiFi.localIP()[4],WiFi.localIP()[5]); + DIAG(F("Wifi STA IP %d.%d.%d.%d"), WiFi.localIP()[0], WiFi.localIP()[1],WiFi.localIP()[2],WiFi.localIP()[3]); wifiUp = true; } else { DIAG(F("Could not connect to Wifi SSID %s"),SSid); @@ -164,7 +164,7 @@ bool WifiNINA::setup(const char *SSid, } if (WiFi.status() == WL_CONNECTED) { ip = WiFi.localIP(); - DIAG(F("Wifi STA IP 2nd try %s"), ip); + DIAG(F("Wifi STA IP 2nd try %d.%d.%d.%d"), ip[0], ip[1], ip[2], ip[3]); wifiUp = true; } else { DIAG(F("Wifi STA mode FAIL. Will revert to AP mode")); @@ -435,9 +435,9 @@ void WifiNINA::checkForClientOutput() { } void WifiNINA::loop() { - checkForLostClients(); + checkForLostClients(); // *** checkForNewClient(); - checkForClientInput(); + checkForClientInput(); // *** WiThrottle::loop(outboundRing); // allow withrottle to broadcast if needed checkForClientOutput(); }