diff options
| author | hathach <[email protected]> | 2013-03-29 00:20:27 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-29 00:20:27 +0700 |
| commit | e658e67ebefb94ee001dc491ea01c607300490b7 (patch) | |
| tree | bf657aaead73a8b5f03335044315b8b08653e152 /demos/host | |
| parent | d95c6cf2e016257aaa74e372fca350ce96f6a90b (diff) | |
fix the damn bug within 10 line of code in keyboard_app.c
Diffstat (limited to 'demos/host')
| -rw-r--r-- | demos/host/keyboard_app.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/host/keyboard_app.c b/demos/host/keyboard_app.c index 9bab4c07d..5dee23c31 100644 --- a/demos/host/keyboard_app.c +++ b/demos/host/keyboard_app.c @@ -86,6 +86,7 @@ void keyboard_app_task(void) printf("%c", keycode_to_ascii(keyboard_report.keycode[i])); } memclr_(&keyboard_report, sizeof(tusb_keyboard_report_t)); // TODO use callback to synchronize + tusbh_hid_keyboard_get_report(dev_addr, 0, (uint8_t*) &keyboard_report); break; case TUSB_INTERFACE_STATUS_BUSY: |
