File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
libraries/ESP8266WiFi/src Expand file tree Collapse file tree 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)
254254 * Return the current channel associated with the network
255255 * @return channel (1-13)
256256 */
257- int32_t ESP8266WiFiGenericClass::channel (void ) {
257+ uint8_t ESP8266WiFiGenericClass::channel (void ) {
258258 return wifi_get_channel ();
259259}
260260
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ class ESP8266WiFiGenericClass {
7474 WiFiEventHandler onSoftAPModeProbeRequestReceived (std::function<void (const WiFiEventSoftAPModeProbeRequestReceived&)>);
7575 WiFiEventHandler onWiFiModeChange (std::function<void (const WiFiEventModeChange&)>);
7676
77- int32_t channel (void );
77+ uint8_t channel (void );
7878
7979 bool setSleepMode (WiFiSleepType_t type, uint8_t listenInterval = 0 );
8080
You can’t perform that action at this time.
0 commit comments