Skip to content

Commit 6619217

Browse files
committed
removed power functions
Former-commit-id: 3feff54
1 parent 328a97b commit 6619217

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

libraries/WiFiS3/src/WiFi.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -432,15 +432,7 @@ int CWifi::hostByName(const char* aHostname, IPAddress& aResult) {
432432
return 0;
433433
}
434434

435-
/* -------------------------------------------------------------------------- */
436-
void CWifi::lowPowerMode() {
437-
/* -------------------------------------------------------------------------- */
438-
}
439435

440-
/* -------------------------------------------------------------------------- */
441-
void CWifi::noLowPowerMode() {
442-
/* -------------------------------------------------------------------------- */
443-
}
444436

445437
uint8_t CWifi::reasonCode() {
446438
return 0;

libraries/WiFiS3/src/WiFi.h

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,7 @@ class CWifi {
221221
*
222222
* return: encryption type (enum wl_enc_type) of the specified item on the networks scanned list
223223
224-
enum wl_enc_type :
225-
ENC_TYPE_WEP = 5,
226-
ENC_TYPE_TKIP = 2,
227-
ENC_TYPE_CCMP = 4,
228-
ENC_TYPE_WP3 = 6,
229-
ENC_TYPE_NONE = 7,
230-
ENC_TYPE_AUTO = 8,
231-
232-
ENC_TYPE_UNKNOWN = 255
224+
233225
234226
*/
235227
uint8_t encryptionType(uint8_t networkItem);
@@ -271,11 +263,6 @@ class CWifi {
271263

272264
unsigned long getTime();
273265

274-
void lowPowerMode();
275-
void noLowPowerMode();
276-
277-
278-
279266
void setTimeout(unsigned long timeout);
280267

281268

0 commit comments

Comments
 (0)