This commit is contained in:
hathach
2018-12-07 23:28:51 +07:00
parent e4fd9fbaf4
commit 98dd0c4d4d
4 changed files with 165 additions and 171 deletions

View File

@@ -183,7 +183,7 @@ bool usbh_init(void)
}
}
TU_ASSERT( hcd_init() == TUSB_ERROR_NONE );
TU_ASSERT(hcd_init());
hcd_int_enable(TUH_OPT_RHPORT);
return true;