From 4ae5e9958a7d51bb242c5eec29de42301553c034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20G=C3=B3rski?= Date: Thu, 3 Aug 2023 18:35:53 +0200 Subject: [PATCH] Remove old debug code --- boards/atsame54_xpro/examples/timer_v2.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/boards/atsame54_xpro/examples/timer_v2.rs b/boards/atsame54_xpro/examples/timer_v2.rs index 290593a5251..9170d077003 100644 --- a/boards/atsame54_xpro/examples/timer_v2.rs +++ b/boards/atsame54_xpro/examples/timer_v2.rs @@ -104,22 +104,13 @@ mod app { // TODO: Create a PR to fugit to fix extension traits use atsamd_hal::fugit::ExtU32; - let mut countdown = countdown + let countdown = countdown .into_8_bit() .into_countdown() .unwrap() .with_saturated_period(1_u32.secs()) .with_interrupt(); - unsafe { - countdown - .inner_raw() - .registers() - .count8() - .ctrla - .modify(|_, w| w.prescsync().resync()); - } - let countdown = countdown.enable(); let led: bsp::Led = bsp::pin_alias!(pins.led).into();