Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jackra1n committed May 16, 2024
1 parent 865b654 commit ead41dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fan_controller.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use linux_embedded_hal::I2cdev;
use pcf857x::{OutputPin, Pcf8574, SlaveAddr};
use pcf857x::{Pcf8574, SlaveAddr};
use anyhow::{anyhow, Result};


Expand All @@ -23,7 +23,7 @@ impl FanController {
let expander = Pcf8574::new(i2c, SlaveAddr::default());

Ok(FanController {
expander: expander,
expander,
is_running: false,
temp_off,
temp_on,
Expand Down

0 comments on commit ead41dc

Please sign in to comment.