mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-18 16:32:05 +00:00
thermosphere: pl011: fix uartSetInterruptStatus
We don't need to forcefully clear the line level
This commit is contained in:
parent
46954a5359
commit
ef23db21e6
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ void uartSetInterruptStatus(UartDevice dev, ReadWriteDirection direction, bool e
|
||||||
if (enable) {
|
if (enable) {
|
||||||
uart->imsc |= mask;
|
uart->imsc |= mask;
|
||||||
} else {
|
} else {
|
||||||
uart->icr = mask;
|
//uart->icr = mask;
|
||||||
uart->imsc &= ~mask;
|
uart->imsc &= ~mask;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue