mirror of https://github.com/zmkfirmware/zmk.git
fix formatting
This commit is contained in:
parent
fbdb24c6fe
commit
41830ce19a
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue