diff options
| author | Siarhei B <[email protected]> | 2025-08-26 08:19:12 +0200 |
|---|---|---|
| committer | Siarhei B <[email protected]> | 2025-08-28 10:16:03 +0200 |
| commit | 2eb643bac66844dccddc11065c3debbaef468595 (patch) | |
| tree | b150fc47c5ef8071d2839fa98e68b849d567fe0f /embassy-mspm0 | |
| parent | 93ba2c9c95721f1fe16269f09c219b161b2969cb (diff) | |
mspm0-watchdog: rename mod watchdog to wwdt
Diffstat (limited to 'embassy-mspm0')
| -rw-r--r-- | embassy-mspm0/src/lib.rs | 2 | ||||
| -rw-r--r-- | embassy-mspm0/src/wwdt.rs (renamed from embassy-mspm0/src/watchdog.rs) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/embassy-mspm0/src/lib.rs b/embassy-mspm0/src/lib.rs index 8ee182c12..0cb19a379 100644 --- a/embassy-mspm0/src/lib.rs +++ b/embassy-mspm0/src/lib.rs | |||
| @@ -18,7 +18,7 @@ pub mod gpio; | |||
| 18 | pub mod i2c; | 18 | pub mod i2c; |
| 19 | pub mod timer; | 19 | pub mod timer; |
| 20 | pub mod uart; | 20 | pub mod uart; |
| 21 | pub mod watchdog; | 21 | pub mod wwdt; |
| 22 | 22 | ||
| 23 | /// Operating modes for peripherals. | 23 | /// Operating modes for peripherals. |
| 24 | pub mod mode { | 24 | pub mod mode { |
diff --git a/embassy-mspm0/src/watchdog.rs b/embassy-mspm0/src/wwdt.rs index 95e5b97f3..9864b3d94 100644 --- a/embassy-mspm0/src/watchdog.rs +++ b/embassy-mspm0/src/wwdt.rs | |||
| @@ -336,10 +336,10 @@ pub trait Instance: SealedInstance + PeripheralType {} | |||
| 336 | 336 | ||
| 337 | macro_rules! impl_wwdt_instance { | 337 | macro_rules! impl_wwdt_instance { |
| 338 | ($instance: ident) => { | 338 | ($instance: ident) => { |
| 339 | impl crate::watchdog::SealedInstance for crate::peripherals::$instance { | 339 | impl crate::wwdt::SealedInstance for crate::peripherals::$instance { |
| 340 | const REGS: crate::pac::wwdt::Wwdt = crate::pac::$instance; | 340 | const REGS: crate::pac::wwdt::Wwdt = crate::pac::$instance; |
| 341 | } | 341 | } |
| 342 | 342 | ||
| 343 | impl crate::watchdog::Instance for crate::peripherals::$instance {} | 343 | impl crate::wwdt::Instance for crate::peripherals::$instance {} |
| 344 | }; | 344 | }; |
| 345 | } | 345 | } |
