Skip to content

Commit

Permalink
Fix wasteful empty loop
Browse files Browse the repository at this point in the history
Thanks, clippy!
  • Loading branch information
berkus committed Dec 29, 2020
1 parent a53ede1 commit 20363a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nucleus/src/platform/rpi3/power.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@ impl Power {
val |= PM_PASSWORD | PM_RSTC_WRCFG_FULL_RESET;
self.PM_RSTC.set(val);

loop {}
crate::endless_sleep()
}
}

0 comments on commit 20363a7

Please sign in to comment.