summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r--tmk_core/protocol/chibios/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c
index 6bf9c16681..36fd45d458 100644
--- a/tmk_core/protocol/chibios/main.c
+++ b/tmk_core/protocol/chibios/main.c
@@ -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;