Skip to content

Commit e436c71

Browse files
committed
Run rustfmt.
1 parent 160c900 commit e436c71

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

embassy-mspm0/src/lib.rs

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,16 @@ pub enum ResetCause {
254254
/// Wake from SHUTDOWN
255255
BorWakeFromShutdown,
256256
/// Non-PMU trim parity fault
257-
#[cfg(not(any(mspm0c110x, mspm0c1105_c1106, mspm0g110x, mspm0g150x, mspm0g151x, mspm0g310x, mspm0g350x, mspm0g351x)))]
257+
#[cfg(not(any(
258+
mspm0c110x,
259+
mspm0c1105_c1106,
260+
mspm0g110x,
261+
mspm0g150x,
262+
mspm0g151x,
263+
mspm0g310x,
264+
mspm0g350x,
265+
mspm0g351x
266+
)))]
258267
BootrstNonPmuParityFault,
259268
/// Fatal clock fault
260269
BootrstClockFault,
@@ -307,7 +316,16 @@ pub fn read_reset_cause() -> Result<ResetCause, u8> {
307316
Id::PORSW => Ok(PorSwTriggered),
308317
Id::BORSUPPLY => Ok(BorSupplyFailure),
309318
Id::BORWAKESHUTDN => Ok(BorWakeFromShutdown),
310-
#[cfg(not(any(mspm0c110x, mspm0c1105_c1106, mspm0g110x, mspm0g150x, mspm0g151x, mspm0g310x, mspm0g350x, mspm0g351x)))]
319+
#[cfg(not(any(
320+
mspm0c110x,
321+
mspm0c1105_c1106,
322+
mspm0g110x,
323+
mspm0g150x,
324+
mspm0g151x,
325+
mspm0g310x,
326+
mspm0g350x,
327+
mspm0g351x
328+
)))]
311329
Id::BOOTNONPMUPARITY => Ok(BootrstNonPmuParityFault),
312330
Id::BOOTCLKFAIL => Ok(BootrstClockFault),
313331
Id::BOOTSW => Ok(BootrstSwTriggered),

0 commit comments

Comments
 (0)