File tree 2 files changed +2
-2
lines changed
libraries/ESP8266WiFi/src
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ void ESP8266WiFiGenericClass::_eventCallback(void* arg)
254
254
* Return the current channel associated with the network
255
255
* @return channel (1-13)
256
256
*/
257
- int32_t ESP8266WiFiGenericClass::channel (void ) {
257
+ uint8_t ESP8266WiFiGenericClass::channel (void ) {
258
258
return wifi_get_channel ();
259
259
}
260
260
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ class ESP8266WiFiGenericClass {
74
74
WiFiEventHandler onSoftAPModeProbeRequestReceived (std::function<void (const WiFiEventSoftAPModeProbeRequestReceived&)>);
75
75
WiFiEventHandler onWiFiModeChange (std::function<void (const WiFiEventModeChange&)>);
76
76
77
- int32_t channel (void );
77
+ uint8_t channel (void );
78
78
79
79
bool setSleepMode (WiFiSleepType_t type, uint8_t listenInterval = 0 );
80
80
You can’t perform that action at this time.
0 commit comments