UM battery: changed default for auto-off feature to "disabled"

Especially on 8266, the usermod can cause unexpected shut-downs in default configuration, when A0 is not connected to a battery voltage measurement circuit.
This commit is contained in:
Frank
2023-12-10 14:40:36 +01:00
committed by GitHub
parent 6cd9d80dbe
commit 782628b6aa

View File

@@ -56,7 +56,7 @@
// auto-off feature
#ifndef USERMOD_BATTERY_AUTO_OFF_ENABLED
#define USERMOD_BATTERY_AUTO_OFF_ENABLED true
#define USERMOD_BATTERY_AUTO_OFF_ENABLED false
#endif
#ifndef USERMOD_BATTERY_AUTO_OFF_THRESHOLD