Disable switch off of internal LED when saving power

It may disable GPIO used by sensors
This commit is contained in:
Mathieu Maret 2016-06-01 01:49:04 +02:00
parent 69fd24b756
commit 7e25978455
2 changed files with 0 additions and 3 deletions

View File

@ -249,8 +249,6 @@ void setup() {
}
#ifdef CONFIG_ENABLE_POWER_SAVE
wifi_set_sleep_type(LIGHT_SLEEP_T);
pinMode(LED_BUILTIN, OUTPUT);
digitalWrite(LED_BUILTIN, HIGH); //Active at low level
#endif
}

View File

@ -16,7 +16,6 @@
#define CONFIG_DHT_PIN 5
// Enable light sleep to save some power (http://bbs.espressif.com/viewtopic.php?f=6&t=133&p=485&hilit=sleep+modem#p485)
// Switch off internal LED
//#define CONFIG_ENABLE_POWER_SAVE
// Disable mDNS can also save power