Update support_wifi.ino

Fix undefine
This commit is contained in:
Theo Arends 2018-11-19 18:14:53 +01:00
parent e34a1f0719
commit 93cb0a18a9
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ void WifiCheckIp(void)
} }
if (3 == wifi_scan_state) { // Scan done if (3 == wifi_scan_state) { // Scan done
if (wifi_scan_result > 0) { if (wifi_scan_result > 0) {
int best_network_db = INT_MIN; int best_network_db = -2147483646;
for (int8_t i = 0; i < wifi_scan_result; ++i) { for (int8_t i = 0; i < wifi_scan_result; ++i) {
String ssid_scan; String ssid_scan;
int32_t rssi_scan; int32_t rssi_scan;