diff options
author | QMK Bot <hello@qmk.fm> | 2022-10-01 14:22:06 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-10-01 14:22:06 +0000 |
commit | 2c5ceccc5a13cbf2d98708e50962336334033b5e (patch) | |
tree | c4e42e8a267ac1b547020afbbc22220bd8049df7 /keyboards | |
parent | e78fa1fbf00fed10399b70c212f00668d7745b17 (diff) | |
parent | 059a7fb9b033fe1adb8a797e0f3dbc074499020c (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/tzarc/djinn/djinn.c | 4 | ||||
-rw-r--r-- | keyboards/tzarc/djinn/graphics/theme_djinn_default.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/tzarc/djinn/djinn.c b/keyboards/tzarc/djinn/djinn.c index e6529e555d..93b1ee775e 100644 --- a/keyboards/tzarc/djinn/djinn.c +++ b/keyboards/tzarc/djinn/djinn.c @@ -129,7 +129,7 @@ RGB rgb_matrix_hsv_to_rgb(HSV hsv) { //---------------------------------------------------------- // UI Placeholder, implemented in themes -__attribute__((weak)) void draw_ui_user(void) {} +__attribute__((weak)) void draw_ui_user(bool force_redraw) {} //---------------------------------------------------------- // Housekeeping @@ -223,7 +223,7 @@ void housekeeping_task_kb(void) { // Draw the UI if (kb_state.lcd_power) { - draw_ui_user(); + draw_ui_user(false); } // Go into low-scan interrupt-based mode if we haven't had any matrix activity in the last 250 milliseconds diff --git a/keyboards/tzarc/djinn/graphics/theme_djinn_default.c b/keyboards/tzarc/djinn/graphics/theme_djinn_default.c index a4e87bd341..c9863f2285 100644 --- a/keyboards/tzarc/djinn/graphics/theme_djinn_default.c +++ b/keyboards/tzarc/djinn/graphics/theme_djinn_default.c @@ -89,8 +89,8 @@ void keyboard_post_init_display(void) { //---------------------------------------------------------- // UI Drawing -void draw_ui_user(void) { - bool hue_redraw = false; +void draw_ui_user(bool force_redraw) { + bool hue_redraw = force_redraw; static uint16_t last_hue = 0xFFFF; #if defined(RGB_MATRIX_ENABLE) uint16_t curr_hue = rgb_matrix_get_hue(); |