Skip to content

Commit

Permalink
Remove old debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
glaeqen committed Aug 3, 2023
1 parent 6ad3fbd commit 4ae5e99
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions boards/atsame54_xpro/examples/timer_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4ae5e99

Please # to comment.