Fix print init; print_set_sendchar in main
authorJun Wako <wakojun@gmail.com>
Wed, 10 Dec 2014 06:10:25 +0000 (15:10 +0900)
committerJun Wako <wakojun@gmail.com>
Wed, 10 Dec 2014 06:10:25 +0000 (15:10 +0900)
converter/usb_usb/main.cpp

index 20b7af66a25a56b61f2db2f320a9383e3a872aaf..4e655632e31a8ca5f54fa4fb3d08c52093a078c5 100644 (file)
@@ -13,6 +13,7 @@
 #include "lufa.h"
 
 #include "timer.h"
+#include "sendchar.h"
 #include "debug.h"
 #include "keyboard.h"
 
@@ -39,6 +40,7 @@ static void LUFA_setup(void)
 
     // for Console_Task
     USB_Device_EnableSOFEvents();
+    print_set_sendchar(sendchar);
 }
 
 static void HID_setup()
Imprint / Impressum