forked from kofal.net/zmk
fix formatting
This commit is contained in:
@@ -83,8 +83,7 @@ static int read_registers(const struct device *dev, uint8_t reg, uint16_t *buf)
|
|||||||
// since we only ever read the PORTA registers here, it's effectively little endian.
|
// since we only ever read the PORTA registers here, it's effectively little endian.
|
||||||
*buf = sys_get_le16(data);
|
*buf = sys_get_le16(data);
|
||||||
|
|
||||||
LOG_DBG("max7318: read: reg[0x%X] = 0x%X, reg[0x%X] = 0x%X", reg, data[0], (reg + 1),
|
LOG_DBG("max7318: read: reg[0x%X] = 0x%X, reg[0x%X] = 0x%X", reg, data[0], (reg + 1), data[1]);
|
||||||
data[1]);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user