Skip to content

Commit af03bb1

Browse files
Removed duplicate functions
1 parent 4a741b7 commit af03bb1

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

libraries/WiFiS3/src/WiFi.h

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,23 +74,17 @@ class CWifi {
7474
*/
7575
uint32_t firmwareVersionU32();
7676

77-
/**
78-
* @brief Start WiFi connection for OPEN networks.
79-
*
80-
* @param `ssid` a pointer to the SSID string.
81-
*/
82-
int begin(const char* ssid);
83-
8477
/*
8578
* PING
8679
*/
8780
int ping(IPAddress ip, uint8_t ttl = 128, uint8_t count = 1);
8881
int ping(const String &hostname, uint8_t ttl = 128, uint8_t count = 1);
8982
int ping(const char* host, uint8_t ttl = 128, uint8_t count = 1);
9083

91-
/*
92-
* Start WiFi connection for OPEN networks
93-
* param ssid: Pointer to the SSID string.
84+
/**
85+
* @brief Start WiFi connection for OPEN networks.
86+
*
87+
* @param `ssid` a pointer to the SSID string.
9488
*/
9589
int begin(const char* ssid);
9690

@@ -114,7 +108,6 @@ class CWifi {
114108
* @return `1` if the Access Point is successfully started. `0` if the Access Point initialization failed.
115109
*/
116110
uint8_t beginAP(const char *ssid);
117-
uint8_t beginAP(const char *ssid);
118111

119112
/**
120113
* @brief Starts a Wi-Fi Access Point (AP) with the specified SSID and channel.

0 commit comments

Comments
 (0)