Per default don't use TRIGGER_GPIO (#633)

and move SLEEP_BUTTON definition to config_M5 as it is only used for the moment with M5 stack and stickc boards
This commit is contained in:
Florian authored and GitHub committed 2020-06-14 07:53:00 -05:00
1 parent ae342f4a32
commit afa3010033
4 files changed
+16 -12

No files matched your search

+2 -2
View File
@@ -136,9 +136,9 @@ char gateway_name[parameters_size * 2] = Gateway_Name;
// LED Resistor 270-510R
#ifndef TRIGGER_GPIO
# ifdef ESP8266
# define TRIGGER_GPIO 14 // pin D5 as full reset button (long press >10s)
//# define TRIGGER_GPIO 14 // pin D5 as full reset button (long press >10s)
# elif ESP32
# define TRIGGER_GPIO 0 // boot button as full reset button (long press >10s)
//# define TRIGGER_GPIO 0 // boot button as full reset button (long press >10s)
# endif
#endif