aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c
diff options
context:
space:
mode:
authorRyan <[email protected]>2023-10-21 21:41:59 +1000
committerGitHub <[email protected]>2023-10-21 21:41:59 +1000
commitd56ee70c524b4fc4d1638e5e8c4bdeb89e752993 (patch)
tree68f890de77cbf2750462def33a3ac5d3de11a8c2 /keyboards/kprepublic/bm60hsrgb/rev2/rev2.c
parent3f1b3a512532b8e6ebd2f73df5222ae146b1f490 (diff)
downloadqmk_firmware-d56ee70c524b4fc4d1638e5e8c4bdeb89e752993.tar.gz
qmk_firmware-d56ee70c524b4fc4d1638e5e8c4bdeb89e752993.zip
Rename `DRIVER_ADDR_n` defines (#22200)
Co-authored-by: Nick Brassel <[email protected]>
Diffstat (limited to 'keyboards/kprepublic/bm60hsrgb/rev2/rev2.c')
-rw-r--r--keyboards/kprepublic/bm60hsrgb/rev2/rev2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c b/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c
index a55c88c97b..8b786d7cfb 100644
--- a/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c
+++ b/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c
@@ -153,16 +153,16 @@ rgb_led_t rgb_matrix_ws2812_array[WS2812_LED_TOTAL];
static void rgb_matrix_driver_init(void) {
i2c_init();
- is31fl3733_init(DRIVER_ADDR_1, 0);
+ is31fl3733_init(IS31FL3733_I2C_ADDRESS_1, 0);
for (uint8_t index = 0; index < ISSI_LED_TOTAL; index++) {
bool enabled = true;
is31fl3733_set_led_control_register(index, enabled, enabled, enabled);
}
- is31fl3733_update_led_control_registers(DRIVER_ADDR_1, 0);
+ is31fl3733_update_led_control_registers(IS31FL3733_I2C_ADDRESS_1, 0);
}
static void rgb_matrix_driver_flush(void) {
- is31fl3733_update_pwm_buffers(DRIVER_ADDR_1, 0);
+ is31fl3733_update_pwm_buffers(IS31FL3733_I2C_ADDRESS_1, 0);
# if WS2812_LED_TOTAL > 0
ws2812_setleds(rgb_matrix_ws2812_array, WS2812_LED_TOTAL);
# endif