daemon: fix keyboard brightness setting

Closes #241
This commit is contained in:
Luke D. Jones
2022-08-20 21:42:18 +12:00
parent f8cdde2adf
commit 3fe5896596
5 changed files with 176 additions and 93 deletions

View File

@@ -88,6 +88,9 @@ async fn start_daemon(executor: &mut Executor<'_>) -> Result<(), Box<dyn Error>>
.unwrap_or_else(|err| warn!("Battery charge limit: {}", err));
// Then register to dbus server
ctrl.add_to_server(&mut connection).await;
let task = CtrlRogBios::new(config.clone())?;
task.create_tasks(executor).await.ok();
}
Err(err) => {
error!("rog_bios_control: {}", err);