Fix many small bugs in refactor of laptop LED mode handling

Closes issue #27
This commit is contained in:
Luke
2020-07-05 21:20:25 +12:00
parent 98ffa817e6
commit 8da748bf7f
6 changed files with 41 additions and 14 deletions

View File

@@ -63,7 +63,7 @@ pub async fn start_daemon() -> Result<(), Box<dyn Error>> {
laptop.supported_modes().to_owned(),
);
led_writer
.reload_last_builtin(&config)
.reload_last_builtin(&mut config)
.await
.unwrap_or_else(|err| warn!("Reload settings: {}", err));