Another round of sonarlint work

This commit is contained in:
Jasmine Iwanek
2023-06-28 13:46:28 -04:00
parent b750471e5c
commit 1116aadb6f
135 changed files with 2425 additions and 1355 deletions

View File

@@ -151,6 +151,9 @@ f82c606_update_ports(upc_t *dev, int set)
case 0xc0:
uart2_int = COM2_IRQ;
break;
default:
break;
}
switch (dev->regs[8] & 0x30) {
@@ -163,6 +166,9 @@ f82c606_update_ports(upc_t *dev, int set)
case 0x30:
uart2_int = COM1_IRQ;
break;
default:
break;
}
switch (dev->regs[8] & 0x0c) {
@@ -175,6 +181,9 @@ f82c606_update_ports(upc_t *dev, int set)
case 0x0c:
lpt1_int = LPT2_IRQ;
break;
default:
break;
}
switch (dev->regs[8] & 0x03) {
@@ -187,6 +196,9 @@ f82c606_update_ports(upc_t *dev, int set)
case 0x03:
lpt1_int = LPT1_IRQ;
break;
default:
break;
}
if (dev->regs[0] & 1) {