Skip to content

Commit 612130a

Browse files
committed
update adc
1 parent b2c48be commit 612130a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/adc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ fn main() -> ! {
4343
let u_raw: u32 = adc.read(&mut adc_pin).expect("adc read failed");
4444
let u_mv = adc.read_voltage(&mut adc_pin).expect("adc read failed");
4545

46-
hprintln!("U raw: {} | U: {} mV | t: {}°C",u_raw, u_mv, temp / 42).unwrap();
46+
hprintln!("U raw: {} | U: {} mV | t: {}°C", u_raw, u_mv, temp / 42).unwrap();
4747
}
4848
}

0 commit comments

Comments
 (0)