From 45ac8f785be657eb9a82e1cbdaa5fbe42845e431 Mon Sep 17 00:00:00 2001 From: Andelf Date: Sun, 12 Nov 2023 00:53:24 +0800 Subject: [PATCH] fix(examples): adc pin --- examples/adc_pin.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/adc_pin.rs b/examples/adc_pin.rs index 57daff1..5e6a4eb 100644 --- a/examples/adc_pin.rs +++ b/examples/adc_pin.rs @@ -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());