clear keyboard & mouse report

This commit is contained in:
hathach
2013-04-15 18:04:26 +08:00
parent 1821681816
commit 91d64ebbb3
2 changed files with 4 additions and 0 deletions

View File

@@ -112,6 +112,8 @@ OSAL_TASK_DECLARE( keyboard_app_task )
printf("%c", keycode_to_ascii(kbd_report.keycode[i]));
}
memclr_(&kbd_report, sizeof(tusb_keyboard_report_t) );
OSAL_TASK_LOOP_END
}