diff options
| author | Ryan | 2024-01-16 03:26:40 +0100 |
|---|---|---|
| committer | GitHub | 2024-01-16 03:26:40 +0100 |
| commit | a522b1f15627c69f94cbc814968be5a63519b8e3 (patch) | |
| tree | 2a6ea5f05d6d728230294dd4a298e0343a22be9d /keyboards/sx60/sx60.c | |
| parent | e1f59a6efc793522155db35155f6fbdc0504d504 (diff) | |
i2c: rename read/write register functions (#22905)
Diffstat (limited to 'keyboards/sx60/sx60.c')
| -rwxr-xr-x | keyboards/sx60/sx60.c | 4 |
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; } |