Tempi/src/fan/mod.rs
2020-03-14 22:23:26 +01:00

8 lines
141 B
Rust

pub mod hysteresis;
pub mod pwm;
pub trait Fan {
fn update_temperature(&mut self, temperature: f64);
fn percentage(&self) -> f64;
}