Fix build error and debug print PJRC stack #69 #68
authortmk <nobody@nowhere>
Tue, 8 Oct 2013 01:49:13 +0000 (10:49 +0900)
committertmk <nobody@nowhere>
Tue, 8 Oct 2013 01:49:13 +0000 (10:49 +0900)
protocol/pjrc/main.c
protocol/pjrc/usb.c

index 5f15dbf892c16f42acbf1a80ee0041b27537565d..1ef87f8651c8a2ee415e7d72590156b20db8c5b8 100644 (file)
@@ -30,6 +30,7 @@
 #include "matrix.h"
 #include "print.h"
 #include "debug.h"
+#include "sendchar.h"
 #include "util.h"
 #include "suspend.h"
 #include "host.h"
@@ -50,6 +51,8 @@ int main(void)
     usb_init();
     while (!usb_configured()) /* wait */ ;
 
+    print_set_sendchar(sendchar);
+
     keyboard_init();
     host_set_driver(pjrc_driver());
 #ifdef SLEEP_LED_ENABLE
index 902f9f7f7742751657fb35a8ba3da12a9ad0ab50..84c99972f201bd165051798a2b70fdd96ccb7a15 100644 (file)
@@ -38,6 +38,7 @@
 #include "sleep_led.h"
 #endif
 #include "suspend.h"
+#include "action_util.h"
 
 
 /**************************************************************************
Imprint / Impressum