summaryrefslogtreecommitdiff
path: root/keyboards/fallacy
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/fallacy')
-rwxr-xr-xkeyboards/fallacy/config.h2
-rwxr-xr-xkeyboards/fallacy/indicators.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/fallacy/config.h b/keyboards/fallacy/config.h
index eff0cc4f50..254f809c34 100755
--- a/keyboards/fallacy/config.h
+++ b/keyboards/fallacy/config.h
@@ -18,7 +18,7 @@
/* IS31FL3731 driver address (for status LEDs)
* Using the default defines here, but using a custom implementation
*/
-#define LED_DRIVER_ADDR_1 IS31FL3731_I2C_ADDRESS_GND
+#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
#define IS31FL3731_DRIVER_COUNT 1
#define LED_MATRIX_LED_COUNT 3
diff --git a/keyboards/fallacy/indicators.c b/keyboards/fallacy/indicators.c
index 607be8cd85..ae4f796ecc 100755
--- a/keyboards/fallacy/indicators.c
+++ b/keyboards/fallacy/indicators.c
@@ -23,20 +23,20 @@
*/
void init_fallacy_leds(void) {
i2c_init();
- is31fl3731_init(LED_DRIVER_ADDR_1);
+ is31fl3731_init(IS31FL3731_I2C_ADDRESS_1);
for (int i = 0; i < LED_MATRIX_LED_COUNT; i++) {
is31fl3731_set_led_control_register(i, true);
}
- is31fl3731_update_led_control_registers(LED_DRIVER_ADDR_1, 0);
+ is31fl3731_update_led_control_registers(IS31FL3731_I2C_ADDRESS_1, 0);
}
/* update the buffer
*/
void update_fallacy_leds(void) {
- is31fl3731_update_pwm_buffers(LED_DRIVER_ADDR_1, 0);
+ is31fl3731_update_pwm_buffers(IS31FL3731_I2C_ADDRESS_1, 0);
}