Skip to content

Commit

Permalink
Add pressure transducer abstraction
Browse files Browse the repository at this point in the history
  • Loading branch information
samderanova committed Apr 28, 2024
1 parent 0f4ae82 commit ede6847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pod-operation/src/components/ina219.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ pub fn read_current(ina: &mut INA219<I2c>) -> f32 {
ina.calibrate(0xffff).unwrap();
debug!("Calibrating INA219");

return ina.current().unwrap() as f32 / 160.0;
ina.current().unwrap() as f32 / 160.0
}

0 comments on commit ede6847

Please sign in to comment.