mirror of
https://github.com/Cian-H/qmk_firmware.git
synced 2025-12-23 06:31:58 +00:00
Fix visualizer crash at startup
Visualizer and serial link initialized in the wrong order. The LED_ENABLED define wasn't set properly uGfx is always initialized
This commit is contained in:
@@ -456,9 +456,7 @@ static DECLARE_THREAD_FUNCTION(visualizerThread, arg) {
|
||||
}
|
||||
|
||||
void visualizer_init(void) {
|
||||
#ifdef LCD_ENABLE
|
||||
gfxInit();
|
||||
#endif
|
||||
|
||||
#ifdef LCD_BACKLIGHT_ENABLE
|
||||
lcd_backlight_init();
|
||||
|
||||
Reference in New Issue
Block a user