Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
usbalbin committed Dec 23, 2024
1 parent 595723c commit 8fa58c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/observe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#![no_std]

mod utils;
use utils::logger::info;
extern crate cortex_m_rt as rt;

use fugit::ExtU32 as _;
Expand Down Expand Up @@ -57,7 +58,7 @@ fn main() -> ! {
loop {
// Can still use pa1 here
let sample = adc.convert(pa1.as_ref(), SampleTime::Cycles_640_5);
defmt::info!("Reading: {}", sample);
info!("Reading: {}", sample);
delay.delay(1000.millis());
}
}

0 comments on commit 8fa58c9

Please sign in to comment.