Fix Web Gpio control configuration

This commit is contained in:
Mathieu Maret 2016-04-07 15:46:32 +02:00
parent 4536163cfd
commit 08a02651a6
2 changed files with 5 additions and 4 deletions

View File

@ -32,10 +32,6 @@
#define CONFIG_MQTT_CONTROLLED_GPIO {2, 13} #define CONFIG_MQTT_CONTROLLED_GPIO {2, 13}
#endif #endif
#ifndef CONFIG_WEB_CONTROLLED_GPIO
#define CONFIG_WEB_CONTROLLED_GPIO 2
#endif
#ifndef CONFIG_EEPROM_SIZE #ifndef CONFIG_EEPROM_SIZE
#define CONFIG_EEPROM_SIZE 256 #define CONFIG_EEPROM_SIZE 256
#endif #endif

View File

@ -20,6 +20,11 @@
// Disable mDNS // Disable mDNS
//#define CONFIG_ENABLE_POWER_SAVE //#define CONFIG_ENABLE_POWER_SAVE
//Web controlled GPIO
#define CONFIG_WEB_CONTROLLED_GPIO 2
/* DEFAULT VALUE ALSO DEFINED IN CONFIG.H */ /* DEFAULT VALUE ALSO DEFINED IN CONFIG.H */
// Time to sleep between 2 webserver request (increase it reduce battery usage but increase latency) // Time to sleep between 2 webserver request (increase it reduce battery usage but increase latency)