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:
@ -42,7 +42,7 @@ endif
|
||||
|
||||
ifdef LED_ENABLE
|
||||
SRC += $(VISUALIZER_DIR)/led_test.c
|
||||
UDEFS += -DLED_ENABLE
|
||||
OPT_DEFS += -DLED_ENABLE
|
||||
endif
|
||||
|
||||
include $(GFXLIB)/gfx.mk
|
||||
|
Reference in New Issue
Block a user