fix cast-align warning in msc host

This commit is contained in:
hathach
2021-05-31 11:11:00 +07:00
parent c2a0c1507b
commit 5cf930d78a
3 changed files with 6 additions and 4 deletions

View File

@@ -302,7 +302,6 @@ bool hcd_edpt_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr, uint8_t *
uint8_t const epnum = tu_edpt_number(ep_addr);
uint8_t const dir = tu_edpt_dir(ep_addr);
// FIXME control only for now
if ( epnum == 0 )
{
ehci_qhd_t* qhd = qhd_control(dev_addr);