diff options
Diffstat (limited to 'keyboards/system76')
-rw-r--r-- | keyboards/system76/launch_1/usb_mux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/system76/launch_1/usb_mux.c b/keyboards/system76/launch_1/usb_mux.c index dd51b7c4b2..7ce1da07aa 100644 --- a/keyboards/system76/launch_1/usb_mux.c +++ b/keyboards/system76/launch_1/usb_mux.c @@ -79,7 +79,7 @@ i2c_status_t usb7206_read_reg(struct USB7206* self, uint32_t addr, uint8_t* data uint16_t read = 0x0006; // Buffer address 6 to skip header uint8_t data_with_buffer_length[length]; - status = i2c_readReg16((self->addr << 1), read, data_with_buffer_length, length, I2C_TIMEOUT); + status = i2c_read_register16((self->addr << 1), read, data_with_buffer_length, length, I2C_TIMEOUT); for (uint16_t i = 0; i < (length - 1) && status >= 0; i++) { data[i] = data_with_buffer_length[i+1]; |