1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-09 21:51:45 +00:00

exo2: fix typo bug

This commit is contained in:
Michael Scire 2020-05-13 22:07:40 -07:00 committed by SciresM
parent 3d6baf96a3
commit 1fdd83628e

View file

@ -54,7 +54,7 @@ namespace ams::secmon::smc {
/* Wait until nothing is being powergated. */
int timeout = 5000;
while (true) {
if (reg::HasValue(APBDEV_PMC_PWRGATE_TOGGLE, PMC_REG_BITS_ENUM(PWRGATE_TOGGLE_START, DISABLE))) {
if (reg::HasValue(PMC + APBDEV_PMC_PWRGATE_TOGGLE, PMC_REG_BITS_ENUM(PWRGATE_TOGGLE_START, DISABLE))) {
break;
}