Skip to content

Commit 8fa58c9

Browse files
committed
Fix example
1 parent 595723c commit 8fa58c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/observe.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#![no_std]
1010

1111
mod utils;
12+
use utils::logger::info;
1213
extern crate cortex_m_rt as rt;
1314

1415
use fugit::ExtU32 as _;
@@ -57,7 +58,7 @@ fn main() -> ! {
5758
loop {
5859
// Can still use pa1 here
5960
let sample = adc.convert(pa1.as_ref(), SampleTime::Cycles_640_5);
60-
defmt::info!("Reading: {}", sample);
61+
info!("Reading: {}", sample);
6162
delay.delay(1000.millis());
6263
}
6364
}

0 commit comments

Comments
 (0)