Djinn theme, allow force redraws (#18558)

This commit is contained in:
Nick Brassel 2022-10-02 00:21:22 +10:00 committed by GitHub
parent 9f0d9b4fbe
commit 059a7fb9b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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