1
0
Fork 0

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:
Fred Sundvik 2016-07-07 14:01:20 +03:00
parent 07d0d5cbe4
commit 7229751ba9
3 changed files with 5 additions and 6 deletions

View file

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