Skip to content

Commit c9bacfd

Browse files
authored
Update WiFiMulti.cpp
1 parent 2903336 commit c9bacfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFi/src/WiFiMulti.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ uint8_t WiFiMulti::run(uint32_t connectTimeout, bool scanHidden)
123123
return WL_NO_SSID_AVAIL;
124124
} else if (scanResult >= 0) {
125125
// scan done analyze
126-
int bestIndex = -1;
126+
int32_t bestIndex = -1;
127127
WifiAPlist_t bestNetwork { NULL, NULL, false };
128128
int bestNetworkDb = INT_MIN;
129129
int bestNetworkSec = WIFI_AUTH_MAX;

0 commit comments

Comments
 (0)