Skip to content

Commit 0710145

Browse files
committed
Change name
1 parent e1337aa commit 0710145

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/WiFi/src/WiFiGeneric.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ int32_t WiFiGenericClass::channel(void)
12741274
* @param primaryChan primary channel. Depending on the region, not all channels may be available.
12751275
* @param secondChan secondary channel (WIFI_SECOND_CHAN_NONE, WIFI_SECOND_CHAN_ABOVE, WIFI_SECOND_CHAN_BELOW)
12761276
*/
1277-
void WiFiGenericClass::channel(uint8_t primary, wifi_second_chan_t secondary)
1277+
void WiFiGenericClass::setChannel(uint8_t primary, wifi_second_chan_t secondary)
12781278
{
12791279
wifi_country_t country;
12801280

libraries/WiFi/src/WiFiGeneric.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class WiFiGenericClass
183183
static int waitStatusBits(int bits, uint32_t timeout_ms);
184184

185185
int32_t channel(void);
186-
void channel(uint8_t primary, wifi_second_chan_t secondary=WIFI_SECOND_CHAN_NONE);
186+
void setChannel(uint8_t primary, wifi_second_chan_t secondary=WIFI_SECOND_CHAN_NONE);
187187

188188
void persistent(bool persistent);
189189
void enableLongRange(bool enable);

0 commit comments

Comments
 (0)