The ES1371 now correctly clears all interrupts when it is reset.

This commit is contained in:
OBattler
2021-12-03 00:39:35 +01:00
parent d3efb6998b
commit 39f40d45ea

View File

@@ -317,6 +317,9 @@ es1371_reset(void *p)
/* UART FIFO Register, Address 30H, 34H, 38H, 3CH, Memory Page 1110b, 1111b
Addressable as longword only */
dev->uart_fifo = 0xfffffe00;
/* Update interrupts to ensure they're all correctly cleared. */
es1371_update_irqs(dev);
}