forked from mirrors/qmk_userspace
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:
parent
07d0d5cbe4
commit
7229751ba9
3 changed files with 5 additions and 6 deletions
|
@ -104,13 +104,14 @@ int main(void) {
|
|||
/* init printf */
|
||||
init_printf(NULL,sendchar_pf);
|
||||
|
||||
#ifdef SERIAL_LINK_ENABLE
|
||||
init_serial_link();
|
||||
#endif
|
||||
|
||||
#ifdef VISUALIZER_ENABLE
|
||||
visualizer_init();
|
||||
#endif
|
||||
|
||||
#ifdef SERIAL_LINK_ENABLE
|
||||
init_serial_link();
|
||||
#endif
|
||||
|
||||
host_driver_t* driver = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue