Fix Reverb lockup when using GCC14 (#24199)

This commit is contained in:
Dasky 2024-07-26 01:41:54 +01:00 committed by GitHub
parent 8c35011d0a
commit cf84ea7662
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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