We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccecbfe commit 0452f47Copy full SHA for 0452f47
libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp
@@ -686,7 +686,7 @@ String ESP8266WiFiSTAClass::BSSIDstr(void) {
686
* Return the current network RSSI.
687
* @return RSSI value
688
*/
689
-int32_t ESP8266WiFiSTAClass::RSSI(void) {
+int8_t ESP8266WiFiSTAClass::RSSI(void) {
690
return wifi_station_get_rssi();
691
}
692
libraries/ESP8266WiFi/src/ESP8266WiFiSTA.h
@@ -81,7 +81,7 @@ class ESP8266WiFiSTAClass {
81
uint8_t * BSSID();
82
String BSSIDstr();
83
84
- int32_t RSSI();
+ int8_t RSSI();
85
86
static void enableInsecureWEP (bool enable = true) { _useInsecureWEP = enable; }
87
0 commit comments