Skip to content

Commit 20363a7

Browse files
committed
Fix wasteful empty loop
Thanks, clippy!
1 parent a53ede1 commit 20363a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nucleus/src/platform/rpi3/power.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ impl Power {
122122
val |= PM_PASSWORD | PM_RSTC_WRCFG_FULL_RESET;
123123
self.PM_RSTC.set(val);
124124

125-
loop {}
125+
crate::endless_sleep()
126126
}
127127
}

0 commit comments

Comments
 (0)