Constification

This commit is contained in:
Jasmine Iwanek
2023-07-20 18:58:26 -04:00
parent db66543959
commit 998cfe5cc8
163 changed files with 1086 additions and 1071 deletions

View File

@@ -320,8 +320,8 @@ ps_write_ctrl(uint8_t val, void *priv)
static uint8_t
ps_read_status(void *priv)
{
ps_t *dev = (ps_t *) priv;
uint8_t ret = 0x9f;
const ps_t *dev = (ps_t *) priv;
uint8_t ret = 0x9f;
if (!dev->ack)
ret |= 0x40;