Skip to content

Commit

Permalink
Send fan stop command before starting loop
Browse files Browse the repository at this point in the history
  • Loading branch information
jackra1n committed May 18, 2024
1 parent 1b728f9 commit ec12334
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ fn main() -> Result<(), Box<dyn Error>> {
let mut last_disk_update = Instant::now() - disk_update_interval;
info!("Starting main loop");

fan_controller.fan_off()?;

loop {
sys.refresh_cpu();
sys.refresh_memory();
Expand Down

0 comments on commit ec12334

Please sign in to comment.