Skip to content

Commit

Permalink
fix(examples): adc pin
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Nov 11, 2023
1 parent f8cd038 commit 45ac8f7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/adc_pin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ fn main() -> ! {
let now = rtc.now();
writeln!(serial, "Boot time: {} weekday={}", now, now.isoweekday()).unwrap();

let marchid = riscv::register::marchid::read().unwrap();
writeln!(serial, "marchid: 0x{:08x?}", marchid.bits());
let mias = riscv::register::misa::read().unwrap();
writeln!(serial, "mias: 0x{:08x?}", mias.bits());

// ADC part
let mut adc = Adc::new(p.ADC, hal::adc::Config::default());

Expand Down

0 comments on commit 45ac8f7

Please sign in to comment.