aboutsummaryrefslogtreecommitdiff
path: root/keyboards/fallacy
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/fallacy
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/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);
}