More linting in src/sio

This commit is contained in:
Jasmine Iwanek
2023-08-21 20:24:33 -04:00
parent d32a3914da
commit 859d06b608
18 changed files with 48 additions and 46 deletions

View File

@@ -231,9 +231,9 @@ fdc37c669_write(uint16_t port, uint8_t val, void *priv)
static uint8_t
fdc37c669_read(uint16_t port, void *priv)
{
fdc37c669_t *dev = (fdc37c669_t *) priv;
uint8_t index = (port & 1) ? 0 : 1;
uint8_t ret = 0xff;
const fdc37c669_t *dev = (fdc37c669_t *) priv;
uint8_t index = (port & 1) ? 0 : 1;
uint8_t ret = 0xff;
if (dev->locked) {
if (index)