summaryrefslogtreecommitdiff
path: root/keyboards/sx60/sx60.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/sx60/sx60.c')
-rwxr-xr-xkeyboards/sx60/sx60.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/sx60/sx60.c b/keyboards/sx60/sx60.c
index cb7f2b88ff..12fa6a9ed5 100755
--- a/keyboards/sx60/sx60.c
+++ b/keyboards/sx60/sx60.c
@@ -27,9 +27,9 @@ uint8_t init_mcp23018(void) {
0b00000000,
};
- mcp23018_status = i2c_writeReg(I2C_ADDR, IODIRA, direction, 2, I2C_TIMEOUT);
+ mcp23018_status = i2c_write_register(I2C_ADDR, IODIRA, direction, 2, I2C_TIMEOUT);
if (mcp23018_status) return mcp23018_status;
- mcp23018_status = i2c_writeReg(I2C_ADDR, GPPUA, pullup, 2, I2C_TIMEOUT);
+ mcp23018_status = i2c_write_register(I2C_ADDR, GPPUA, pullup, 2, I2C_TIMEOUT);
return mcp23018_status;
}