dcd_msp430x5xx: Fix typos in dcd_edpt_clear_stall.

This commit is contained in:
William D. Jones 2019-10-02 22:36:45 -04:00
parent 3edb5548e9
commit 05914de109
1 changed files with 2 additions and 2 deletions

View File

@ -368,11 +368,11 @@ void dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr)
{
if(dir == TUSB_DIR_OUT)
{
USBOEPCNT_0 &= ~STALL;
USBOEPCNF_0 &= ~STALL;
}
else
{
USBIEPCNT_0 &= ~STALL;
USBIEPCNF_0 &= ~STALL;
}
}
else