We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0d4761 commit 7f58dbcCopy full SHA for 7f58dbc
1 file changed
src/battery_v4.rs
@@ -28,8 +28,6 @@ pub async fn battery_read_task(i2c: SharedI2C, state: crate::state::GlobalState)
28
let mut last_sent = Instant::now();
29
loop {
30
if sleep_state() {
31
- let ma = gauge.average_current().await.unwrap_or(0);
32
- log::info!("avg current: {ma}mA");
33
Timer::after_millis(500).await;
34
continue;
35
}
0 commit comments