summaryrefslogtreecommitdiff
path: root/quantum/visualizer/visualizer.c
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-07-07 14:01:20 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-07-07 14:01:20 +0300
commit7229751ba9d402b2a6c9dc1b7b29385b5162fe41 (patch)
treee3bfc81e5853b6bc1729058cdb114d72bf372ce0 /quantum/visualizer/visualizer.c
parent07d0d5cbe48d7afaf0bc8c9916d40179ec51cb42 (diff)
downloadqmk_firmware-7229751ba9d402b2a6c9dc1b7b29385b5162fe41.tar.gz
qmk_firmware-7229751ba9d402b2a6c9dc1b7b29385b5162fe41.zip
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
Diffstat (limited to 'quantum/visualizer/visualizer.c')
-rw-r--r--quantum/visualizer/visualizer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/quantum/visualizer/visualizer.c b/quantum/visualizer/visualizer.c
index abca22d85f..dfa2ff4eea 100644
--- a/quantum/visualizer/visualizer.c
+++ b/quantum/visualizer/visualizer.c
@@ -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();