diff --git a/src/main.rs b/src/main.rs index ec71424..194a058 100644 --- a/src/main.rs +++ b/src/main.rs @@ -101,10 +101,10 @@ fn main() -> ! { device_settings_flash = config; laser.set_pd_transconductance(config.pd_mon_fin_gain * config.pd_mon_transconductance); debug!("Found Device Settings"); + device_settings = device_settings_flash; } Ok(None) => { - debug!("Flash does not have Device Settings"); - continue; + info!("Flash does not have Device Settings"); } Err(e) => { debug!("Cannot Store Flash: {:?}", e); @@ -147,7 +147,6 @@ fn main() -> ! { } wd.feed(); - device_settings = device_settings_flash; thermostat.load_settings_from_summary(thermostat_settings); laser.load_settings_from_summary(laser_settings); }