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:
parent
29facf6141
commit
d587054f96
1 changed files with 1 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue