소스 검색

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

led_matrix
tmk 10 년 전
부모
커밋
48662ace8b
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      protocol/pjrc/main.c
  2. 1
    0
      protocol/pjrc/usb.c

+ 3
- 0
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

+ 1
- 0
protocol/pjrc/usb.c 파일 보기

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


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