From 48093000e1a8fbe7fc25a43aea3f75913a634d53 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 8 Oct 2022 23:30:51 +0100 Subject: [PATCH] Various keyboard fixes (#18649) --- keyboards/dailycraft/sandbox/sandbox.c | 2 +- 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 +- keyboards/dyz/synthesis60/synthesis60.c | 2 +- keyboards/yandrstudio/nz64/nz64.c | 2 +- 7 files changed, 14 insertions(+), 59 deletions(-) diff --git a/keyboards/dailycraft/sandbox/sandbox.c b/keyboards/dailycraft/sandbox/sandbox.c index 9f9aa48190b..0b576a82914 100644 --- a/keyboards/dailycraft/sandbox/sandbox.c +++ b/keyboards/dailycraft/sandbox/sandbox.c @@ -17,7 +17,7 @@ #include "sandbox.h" #ifdef OLED_ENABLE -bool oled_task_user(void) { +bool oled_task_kb(void) { if (!oled_task_user()) { return false; } switch (get_highest_layer(layer_state)) { case 0: diff --git a/keyboards/duck/jetfire/indicator_leds.h b/keyboards/duck/jetfire/indicator_leds.h index 695e1db6d41..d94709d1cb1 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 9bb02ca22cc..d648287156f 100644 --- a/keyboards/duck/jetfire/jetfire.c +++ b/keyboards/duck/jetfire/jetfire.c @@ -44,61 +44,16 @@ uint8_t backlight_state_led = 1<