diff options
| -rw-r--r-- | protocol/pjrc/main.c | 3 | ||||
| -rw-r--r-- | protocol/pjrc/usb.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/protocol/pjrc/main.c b/protocol/pjrc/main.c index 5f15dbf89..1ef87f865 100644 --- a/protocol/pjrc/main.c +++ b/protocol/pjrc/main.c | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | #include "matrix.h" | 30 | #include "matrix.h" |
| 31 | #include "print.h" | 31 | #include "print.h" |
| 32 | #include "debug.h" | 32 | #include "debug.h" |
| 33 | #include "sendchar.h" | ||
| 33 | #include "util.h" | 34 | #include "util.h" |
| 34 | #include "suspend.h" | 35 | #include "suspend.h" |
| 35 | #include "host.h" | 36 | #include "host.h" |
| @@ -50,6 +51,8 @@ int main(void) | |||
| 50 | usb_init(); | 51 | usb_init(); |
| 51 | while (!usb_configured()) /* wait */ ; | 52 | while (!usb_configured()) /* wait */ ; |
| 52 | 53 | ||
| 54 | print_set_sendchar(sendchar); | ||
| 55 | |||
| 53 | keyboard_init(); | 56 | keyboard_init(); |
| 54 | host_set_driver(pjrc_driver()); | 57 | host_set_driver(pjrc_driver()); |
| 55 | #ifdef SLEEP_LED_ENABLE | 58 | #ifdef SLEEP_LED_ENABLE |
diff --git a/protocol/pjrc/usb.c b/protocol/pjrc/usb.c index 902f9f7f7..84c99972f 100644 --- a/protocol/pjrc/usb.c +++ b/protocol/pjrc/usb.c | |||
| @@ -38,6 +38,7 @@ | |||
| 38 | #include "sleep_led.h" | 38 | #include "sleep_led.h" |
| 39 | #endif | 39 | #endif |
| 40 | #include "suspend.h" | 40 | #include "suspend.h" |
| 41 | #include "action_util.h" | ||
| 41 | 42 | ||
| 42 | 43 | ||
| 43 | /************************************************************************** | 44 | /************************************************************************** |
