From 48093000e1a8fbe7fc25a43aea3f75913a634d53 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 8 Oct 2022 23:30:51 +0100 Subject: Various keyboard fixes (#18649) --- keyboards/duck/jetfire/indicator_leds.h | 2 +- keyboards/duck/jetfire/jetfire.c | 61 ++++-------------------------- keyboards/duck/octagon/v2/indicator_leds.c | 2 +- keyboards/duck/octagon/v2/indicator_leds.h | 2 +- 4 files changed, 11 insertions(+), 56 deletions(-) (limited to 'keyboards/duck') diff --git a/keyboards/duck/jetfire/indicator_leds.h b/keyboards/duck/jetfire/indicator_leds.h index 695e1db6d4..d94709d1cb 100644 --- a/keyboards/duck/jetfire/indicator_leds.h +++ b/keyboards/duck/jetfire/indicator_leds.h @@ -6,6 +6,6 @@ void backlight_init_ports(void); void backlight_set_state(bool cfg[7]); void backlight_update_state(void); void backlight_toggle_rgb(bool enabled); -void backlight_set_rgb(uint8_t cfg[17][3]); +void backlight_set_rgb(uint8_t cfg[RGBLED_NUM][3]); void backlight_set(uint8_t level); void send_color(uint8_t r, uint8_t g, uint8_t b, enum Device device); diff --git a/keyboards/duck/jetfire/jetfire.c b/keyboards/duck/jetfire/jetfire.c index 9bb02ca22c..d648287156 100644 --- a/keyboards/duck/jetfire/jetfire.c +++ b/keyboards/duck/jetfire/jetfire.c @@ -44,61 +44,16 @@ uint8_t backlight_state_led = 1<