We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bade16f + cbe83d9 commit 3d6a880Copy full SHA for 3d6a880
src/WiFi.cpp
@@ -259,6 +259,7 @@ int WiFiClass::init()
259
_gateway = 0;
260
_dhcp = 1;
261
_resolve = 0;
262
+ _remoteMacAddress = 0;
263
memset(_client, 0, sizeof(WiFiClient *) * TCP_SOCK_MAX);
264
265
// Initialize IO expander LED control (rev A then rev B)..
@@ -696,7 +697,11 @@ int32_t WiFiClass::RSSI()
696
697
m2m_wifi_handle_events(NULL);
698
}
699
- return _resolve;
700
+ int32_t rssi = _resolve;
701
+
702
+ _resolve = 0;
703
704
+ return rssi;
705
706
707
int8_t WiFiClass::scanNetworks()
0 commit comments