commit: cf84ea766289dee4de3f93f87dd316478ff13fd7
parent 8c35011d0aa242e9f6271d3a66ae6924d52bbed6
Author: Dasky <32983009+daskygit@users.noreply.github.com>
Date: Fri, 26 Jul 2024 01:41:54 +0100
Fix Reverb lockup when using GCC14 (#24199)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/keyboards/dasky/reverb/graphics/display.c b/keyboards/dasky/reverb/graphics/display.c
@@ -9,6 +9,7 @@
#include <math.h>
static painter_image_handle_t reverb_logo;
+static painter_image_handle_t splash_image;
static deferred_token display_task_token;
static uint32_t key_pressed_count = 0;
@@ -32,7 +33,6 @@ void display_init_kb(void) {
if (!display_init_user()) {
return;
}
- painter_image_handle_t splash_image;
splash_image = qp_load_image_mem(gfx_splash);
reverb_logo = qp_load_image_mem(gfx_reverb);
qp_drawimage(reverb_display, 0, 0, splash_image);