thermosphere: pl011: fix uartSetInterruptStatus

We don't need to forcefully clear the line level
This commit is contained in:
TuxSH 2020-02-01 01:15:42 +00:00
parent 46954a5359
commit ef23db21e6

View file

@ -184,7 +184,7 @@ void uartSetInterruptStatus(UartDevice dev, ReadWriteDirection direction, bool e
if (enable) {
uart->imsc |= mask;
} else {
uart->icr = mask;
//uart->icr = mask;
uart->imsc &= ~mask;
}
}