mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-03 07:57:43 +00:00
Update settings.ino
Fix for new installs
This commit is contained in:
parent
2c164a8b4b
commit
0007df121a
@ -567,6 +567,7 @@ void SettingsDefaultSet2(void)
|
|||||||
// Settings.flag.value_units = 0;
|
// Settings.flag.value_units = 0;
|
||||||
// Settings.flag.stop_flash_rotate = 0;
|
// Settings.flag.stop_flash_rotate = 0;
|
||||||
Settings.save_data = SAVE_DATA;
|
Settings.save_data = SAVE_DATA;
|
||||||
|
Settings.param[P_BOOT_LOOP_OFFSET] = BOOT_LOOP_OFFSET;
|
||||||
Settings.sleep = APP_SLEEP;
|
Settings.sleep = APP_SLEEP;
|
||||||
if (Settings.sleep < 50) {
|
if (Settings.sleep < 50) {
|
||||||
Settings.sleep = 50; // Default to 50 for sleep, for now
|
Settings.sleep = 50; // Default to 50 for sleep, for now
|
||||||
|
Loading…
x
Reference in New Issue
Block a user