Skip to content

Commit a9a16a4

Browse files
LeeLeahy2nseidle
authored andcommitted
Fix periodic display of WiFi address
1 parent efd0701 commit a9a16a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Surveyor/WiFi.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ bool wifiIsConnected()
100100
void wifiPeriodicallyDisplayIpAddress()
101101
{
102102
if (settings.enablePrintWifiIpAddress && (wifiGetStatus() == WL_CONNECTED))
103-
if ((millis() - wifiTimer) >= wifiTimer)
103+
if ((millis() - wifiTimer) >= WIFI_IP_ADDRESS_DISPLAY_INTERVAL)
104104
wifiDisplayIpAddress();
105105
}
106106

0 commit comments

Comments
 (0)