make clang happy

This commit is contained in:
rjsc 2024-02-07 12:27:23 +00:00 committed by GitHub
parent 008ddcf562
commit ea0a70e339
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -317,7 +317,8 @@ void WiFi_monitor_loop() {
switch (status) { switch (status) {
case WL_CONNECTED: case WL_CONNECTED:
if (wifi_state != CONNECTED) { //we need to update our own wifi state to indicate we are connected if (wifi_state != CONNECTED) { //we need to update our own wifi state to indicate we are connected
wifi_reconnect_backoff_time = DEFAULT_WIFI_RECONNECT_BACKOFF_TIME; // Reset backoff time after maintaining connection wifi_reconnect_backoff_time =
DEFAULT_WIFI_RECONNECT_BACKOFF_TIME; // Reset backoff time after maintaining connection
wifi_state = CONNECTED; wifi_state = CONNECTED;
print_wifi_status_message(status); print_wifi_status_message(status);
} }