More sonarlint work

This commit is contained in:
Jasmine Iwanek
2023-06-09 23:46:54 -04:00
parent 0d1d069af4
commit ee695e71f9
218 changed files with 6282 additions and 3845 deletions

View File

@@ -63,6 +63,9 @@ att49x_ramdac_control(uint8_t val, void *p, svga_t *svga)
case 7:
svga->bpp = 24;
break;
default:
break;
}
if (ramdac->type == ATT_490 || ramdac->type == ATT_491)
svga_set_ramdac_type(svga, (val & 2) ? RAMDAC_8BIT : RAMDAC_6BIT);
@@ -100,6 +103,9 @@ att49x_ramdac_out(uint16_t addr, int rs2, uint8_t val, void *p, svga_t *svga)
att49x_ramdac_control(val, ramdac, svga);
ramdac->state = 0;
break;
default:
break;
}
}
@@ -143,6 +149,9 @@ att49x_ramdac_in(uint16_t addr, int rs2, void *p, svga_t *svga)
temp = ramdac->ctrl;
ramdac->state = 0;
break;
default:
break;
}
return temp;