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() { void Initialize() {
/* Set initial wake configuration. */ /* Set initial wake configuration. */
if (!g_initialized) { if (!g_initialized) {
@ -100,7 +96,7 @@ namespace ams::wec {
UpdateControlBit(ApbdevPmc + level_ofs, (1u << index), false); UpdateControlBit(ApbdevPmc + level_ofs, (1u << index), false);
/* Set or clear the bit in the auto mask register. */ /* 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);
} }
} }