update tinyusb to latest for scsi write10 complete fix

This commit is contained in:
hathach
2019-02-22 14:46:16 +07:00
parent 9ed3f5ea32
commit 57aa554430
5 changed files with 15 additions and 27 deletions

View File

@ -130,9 +130,9 @@ static void wait_for_events(void)
#ifdef NRF52840_XXAA
// skip if usb is not inited ( e.g OTA / finializing sd/bootloader )
extern bool usb_inited(void);
if ( usb_inited() )
if ( tusb_inited() )
{
tusb_task();
tud_task();
tud_cdc_write_flush();
}
#endif