mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
dcd_msp430x5xx: Fix clear stall logic.
This commit is contained in:
parent
529efcc0d2
commit
ea0e799df6
@ -337,11 +337,11 @@ void dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr)
|
||||
{
|
||||
if(dir == TUSB_DIR_OUT)
|
||||
{
|
||||
USBOEPCNT_0 &= ~NAK;
|
||||
USBOEPCNT_0 &= ~STALL;
|
||||
}
|
||||
else
|
||||
{
|
||||
USBIEPCNT_0 &= ~NAK;
|
||||
USBIEPCNT_0 &= ~STALL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user