1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-13 02:22:55 +03:00

BREAKING: Change return type of channel() (#7656)

This commit is contained in:
Develo
2020-10-15 18:48:00 -03:00
committed by GitHub
parent 0452f4728f
commit 81a10a48af
2 changed files with 2 additions and 2 deletions

View File

@ -254,7 +254,7 @@ void ESP8266WiFiGenericClass::_eventCallback(void* arg)
* Return the current channel associated with the network
* @return channel (1-13)
*/
int32_t ESP8266WiFiGenericClass::channel(void) {
uint8_t ESP8266WiFiGenericClass::channel(void) {
return wifi_get_channel();
}