Skip to content

Commit

Permalink
Merge branch 'master' into renovate/embedded-hal-1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Aug 23, 2024
2 parents 844d3d1 + 683dfc5 commit 39e031c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/wdt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::pac::WDT;
use crate::scu::PeripheralClock;
use crate::scu::{Clock, PeripheralReset, Scu};

///
/// Bit value to clear alarms
const ALARM_CLEAR: u32 = 2;

///Key applied to watchdog when serviced to reset timers.
Expand Down Expand Up @@ -69,7 +69,7 @@ impl Wdt {
pub fn new(wdt: WDT, scu: Scu) -> Self {
// Haven't resolved yet fully how i want to deal with this.
// Need to do more reading.
let w = Wdt { wdt: wdt, scu };
let w = Wdt { wdt, scu };
w.enable();
w
}
Expand Down

0 comments on commit 39e031c

Please sign in to comment.