Skip to content

Commit b2fa0d2

Browse files
committed
Merge branch 'master' of github.com:espruino/Espruino
2 parents 2d7ba28 + e8ca2cb commit b2fa0d2

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

targets/esp8266/jswrap_esp8266.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -456,17 +456,3 @@ void jswrap_ESP8266_deepSleep(JsVar *jsMicros) {
456456
system_deep_sleep(sleepTime);
457457
}
458458

459-
//===== ESP8266.modemSleep
460-
/*JSON{
461-
"type" : "staticmethod",
462-
"class" : "ESP8266",
463-
"name" : "modemSleep",
464-
"generate" : "jswrap_ESP8266_modemSleep"
465-
}
466-
Enable esp8266 'modem sleep' mode, which allows the WiFi
467-
modem to be turned off.
468-
*/
469-
void jswrap_ESP8266_modemSleep() {
470-
wifi_set_sleep_type(MODEM_SLEEP_T);
471-
}
472-

targets/esp8266/jswrap_esp8266.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,5 @@ void jswrap_ESP8266_neopixelWrite(Pin pin, JsVar *jsArrayOfData);
4242
uint32_t crc32(uint8_t *buf, uint32_t len);
4343

4444
void jswrap_ESP8266_deepSleep(JsVar *jsMicros);
45-
void jswrap_ESP8266_modemSleep();
4645

4746
#endif /* TARGETS_ESP8266_JSWRAP_ESP8266_H_ */

0 commit comments

Comments
 (0)