mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Try to handle fan-mode fail better
This commit is contained in:
@@ -53,7 +53,11 @@ pub async fn start_daemon() -> Result<(), Box<dyn Error>> {
|
||||
);
|
||||
|
||||
// Reload settings
|
||||
rogcore.fan_mode_reload(&mut config).await?;
|
||||
rogcore
|
||||
.fan_mode_reload(&mut config)
|
||||
.await
|
||||
.map_err(|err| warn!("Fan mode: {}", err))
|
||||
.unwrap();
|
||||
let mut led_writer = LedWriter::new(
|
||||
rogcore.get_raw_device_handle(),
|
||||
laptop.led_endpoint(),
|
||||
|
||||
Reference in New Issue
Block a user