1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-10 06:01:52 +00:00

wec: whoops

This commit is contained in:
Michael Scire 2020-11-10 18:32:21 -08:00 committed by SciresM
parent 29facf6141
commit d587054f96

View file

@ -59,10 +59,6 @@ namespace ams::wec {
}
/* 0C, 160 */
/* 10, 164 */
/* DC, 170 */
void Initialize() {
/* Set initial wake configuration. */
if (!g_initialized) {
@ -100,7 +96,7 @@ namespace ams::wec {
UpdateControlBit(ApbdevPmc + level_ofs, (1u << index), false);
/* Set or clear the bit in the auto mask register. */
UpdateControlBit(ApbdevPmc + level_ofs, (1u << index), level != wec::WakeEventLevel_Low);
UpdateControlBit(ApbdevPmc + auto_mask_ofs, (1u << index), level != wec::WakeEventLevel_Low);
}
}