Fix wasteful empty loop

Thanks, clippy!
This commit is contained in:
Berkus Decker 2020-12-29 18:12:38 +02:00
parent a53ede11af
commit 20363a7e25
1 changed files with 1 additions and 1 deletions
nucleus/src/platform/rpi3

View File

@ -122,6 +122,6 @@ impl Power {
val |= PM_PASSWORD | PM_RSTC_WRCFG_FULL_RESET;
self.PM_RSTC.set(val);
loop {}
crate::endless_sleep()
}
}