Fix build error and debug print PJRC stack #69 #68

This commit is contained in:
tmk 2013-10-08 10:49:13 +09:00
parent 35f9f30074
commit 48662ace8b
2 changed files with 4 additions and 0 deletions

View file

@ -30,6 +30,7 @@
#include "matrix.h" #include "matrix.h"
#include "print.h" #include "print.h"
#include "debug.h" #include "debug.h"
#include "sendchar.h"
#include "util.h" #include "util.h"
#include "suspend.h" #include "suspend.h"
#include "host.h" #include "host.h"
@ -50,6 +51,8 @@ int main(void)
usb_init(); usb_init();
while (!usb_configured()) /* wait */ ; while (!usb_configured()) /* wait */ ;
print_set_sendchar(sendchar);
keyboard_init(); keyboard_init();
host_set_driver(pjrc_driver()); host_set_driver(pjrc_driver());
#ifdef SLEEP_LED_ENABLE #ifdef SLEEP_LED_ENABLE

View file

@ -38,6 +38,7 @@
#include "sleep_led.h" #include "sleep_led.h"
#endif #endif
#include "suspend.h" #include "suspend.h"
#include "action_util.h"
/************************************************************************** /**************************************************************************