update tusb

This commit is contained in:
hathach
2018-07-15 00:02:44 +07:00
parent 1dcb424163
commit 98a1304881
4 changed files with 33 additions and 6 deletions

View File

@ -129,7 +129,7 @@ static void wait_for_events(void)
tusb_task();
// Send out cdc's data
tud_cdc_flush();
tud_cdc_write_flush();
if ((m_update_status == BOOTLOADER_COMPLETE) ||
(m_update_status == BOOTLOADER_TIMEOUT) ||