diff --git a/pod-operation/src/components/ina219.rs b/pod-operation/src/components/ina219.rs index 40f9855e..4800c49a 100644 --- a/pod-operation/src/components/ina219.rs +++ b/pod-operation/src/components/ina219.rs @@ -6,5 +6,5 @@ pub fn read_current(ina: &mut INA219) -> f32 { ina.calibrate(0xffff).unwrap(); debug!("Calibrating INA219"); - return ina.current().unwrap() as f32 / 160.0; + ina.current().unwrap() as f32 / 160.0 }