More linting in src/chipset

This commit is contained in:
Jasmine Iwanek
2023-08-21 20:22:20 -04:00
parent 12070eb62a
commit 729aa24f1b
4 changed files with 9 additions and 7 deletions

View File

@@ -102,8 +102,9 @@ olivetti_eva_write(uint16_t addr, uint8_t val, void *priv)
static uint8_t
olivetti_eva_read(uint16_t addr, void *priv)
{
olivetti_eva_t *dev = (olivetti_eva_t *) priv;
const olivetti_eva_t *dev = (olivetti_eva_t *) priv;
uint8_t ret = 0xff;
switch (addr) {
case 0x065:
ret = dev->reg_065;