summaryrefslogtreecommitdiff
path: root/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c')
-rw-r--r--keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c b/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c
index 35ac5a06b2..6b8f91bc2f 100644
--- a/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c
+++ b/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c
@@ -145,22 +145,22 @@ led_config_t g_led_config = { {
//Custom Driver
static void init(void) {
i2c_init();
- is31fl3731_init(IS31FL3731_I2C_ADDRESS_1);
- is31fl3731_init(IS31FL3731_I2C_ADDRESS_2);
+ is31fl3731_init(0);
+ is31fl3731_init(1);
for (int index = 0; index < IS31FL3731_LED_COUNT; index++) {
bool enabled = true;
is31fl3731_set_led_control_register(index, enabled, enabled, enabled);
}
- is31fl3731_update_led_control_registers(IS31FL3731_I2C_ADDRESS_1, 0);
- is31fl3731_update_led_control_registers(IS31FL3731_I2C_ADDRESS_2, 1);
+ is31fl3731_update_led_control_registers(0);
+ is31fl3731_update_led_control_registers(1);
//RGB Underglow ws2812
}
static void flush(void) {
- is31fl3731_update_pwm_buffers(IS31FL3731_I2C_ADDRESS_1, 0);
- is31fl3731_update_pwm_buffers(IS31FL3731_I2C_ADDRESS_2, 1);
+ is31fl3731_update_pwm_buffers(0);
+ is31fl3731_update_pwm_buffers(1);
ws2812_setleds(rgb_matrix_ws2812_array, WS2812_LED_TOTAL);
}