Skip to content

Commit

Permalink
Update settings.ino
Browse files Browse the repository at this point in the history
Fix for new installs
  • Loading branch information
arendst committed Jan 30, 2019
1 parent 2c164a8 commit 0007df1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sonoff/settings.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0007df1

Please sign in to comment.