Skip to content

Commit 0452f47

Browse files
authored
BREAKING: Change return type of RSSI() (#7657)
1 parent ccecbfe commit 0452f47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ String ESP8266WiFiSTAClass::BSSIDstr(void) {
686686
* Return the current network RSSI.
687687
* @return RSSI value
688688
*/
689-
int32_t ESP8266WiFiSTAClass::RSSI(void) {
689+
int8_t ESP8266WiFiSTAClass::RSSI(void) {
690690
return wifi_station_get_rssi();
691691
}
692692

libraries/ESP8266WiFi/src/ESP8266WiFiSTA.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class ESP8266WiFiSTAClass {
8181
uint8_t * BSSID();
8282
String BSSIDstr();
8383

84-
int32_t RSSI();
84+
int8_t RSSI();
8585

8686
static void enableInsecureWEP (bool enable = true) { _useInsecureWEP = enable; }
8787

0 commit comments

Comments
 (0)