Update settings.ino

Fix for new installs
This commit is contained in:
Theo Arends 2019-01-30 15:14:24 +01:00
parent 2c164a8b4b
commit 0007df121a

View File

@ -567,6 +567,7 @@ void SettingsDefaultSet2(void)
// Settings.flag.value_units = 0;
// Settings.flag.stop_flash_rotate = 0;
Settings.save_data = SAVE_DATA;
Settings.param[P_BOOT_LOOP_OFFSET] = BOOT_LOOP_OFFSET;
Settings.sleep = APP_SLEEP;
if (Settings.sleep < 50) {
Settings.sleep = 50; // Default to 50 for sleep, for now