Init device correctly for LED control

This commit is contained in:
Luke
2020-06-30 09:58:44 +12:00
parent b751ceb29e
commit 20b82b1f24
9 changed files with 37 additions and 27 deletions

View File

@@ -62,7 +62,7 @@ pub async fn start_daemon() -> Result<(), Box<dyn Error>> {
laptop.led_endpoint(),
laptop.supported_modes().to_owned(),
);
led_writer.reload_last_builtin(&mut config).await?;
led_writer.reload_last_builtin(&config).await?;
// Set up the mutexes
let config = Arc::new(Mutex::new(config));