thermosphere: pl011: fix uartSetInterruptStatus
We don't need to forcefully clear the line level
This commit is contained in:
1 parent
116d0703f4
commit
86eaa7777b
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user