Browse Source

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

tags/v1.9
tmk 10 years ago
parent
commit
48662ace8b
2 changed files with 4 additions and 0 deletions
  1. 3
    0
      protocol/pjrc/main.c
  2. 1
    0
      protocol/pjrc/usb.c

+ 3
- 0
protocol/pjrc/main.c View File

#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"
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

+ 1
- 0
protocol/pjrc/usb.c View File

#include "sleep_led.h" #include "sleep_led.h"
#endif #endif
#include "suspend.h" #include "suspend.h"
#include "action_util.h"




/************************************************************************** /**************************************************************************

Loading…
Cancel
Save