From 70212a22260585903e0a44bb8c7dcd8b29226015 Mon Sep 17 00:00:00 2001 From: Lucas Brendel Date: Thu, 22 Aug 2024 21:41:01 -0500 Subject: [PATCH 1/3] chore: moving cargo config file --- .cargo/config => config.toml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .cargo/config => config.toml (100%) diff --git a/.cargo/config b/config.toml similarity index 100% rename from .cargo/config rename to config.toml From 104d2de18ee8448879e24cb2272edf35d3e2d594 Mon Sep 17 00:00:00 2001 From: Lucas Brendel Date: Thu, 22 Aug 2024 21:42:02 -0500 Subject: [PATCH 2/3] fix(wdt): removing redundant field name --- src/wdt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wdt.rs b/src/wdt.rs index 282ba9aa..914ad2b3 100644 --- a/src/wdt.rs +++ b/src/wdt.rs @@ -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 } From 683dfc57db2515423c54660a4876acb5d0dbcdb4 Mon Sep 17 00:00:00 2001 From: Lucas Brendel Date: Thu, 22 Aug 2024 21:44:27 -0500 Subject: [PATCH 3/3] chore(wdt): finish documenting const --- src/wdt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wdt.rs b/src/wdt.rs index 914ad2b3..066c2384 100644 --- a/src/wdt.rs +++ b/src/wdt.rs @@ -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.