summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-10-08 10:49:13 +0900
committertmk <nobody@nowhere>2013-10-08 10:49:13 +0900
commit48662ace8b6d8aca5ab4a5de0a0a40781a95478a (patch)
tree854c4435cda6fe1c9ecc156452daae1a7cd326ed
parent35f9f30074263a2a738cbfc513fca6d812ddf6ff (diff)
Fix build error and debug print PJRC stack #69 #68
-rw-r--r--protocol/pjrc/main.c3
-rw-r--r--protocol/pjrc/usb.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/protocol/pjrc/main.c b/protocol/pjrc/main.c
index 5f15dbf892..1ef87f8651 100644
--- a/protocol/pjrc/main.c
+++ b/protocol/pjrc/main.c
@@ -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
diff --git a/protocol/pjrc/usb.c b/protocol/pjrc/usb.c
index 902f9f7f77..84c99972f2 100644
--- a/protocol/pjrc/usb.c
+++ b/protocol/pjrc/usb.c
@@ -38,6 +38,7 @@
#include "sleep_led.h"
#endif
#include "suspend.h"
+#include "action_util.h"
/**************************************************************************