dcd_msp430x5xx: Fix missing mask when posting IN xfer events.
This commit is contained in:
parent
838b431fac
commit
549ad1d9b6
|
@ -389,7 +389,7 @@ static void transmit_packet(uint8_t ep_num)
|
||||||
// Of course a ZLP is a short packet.
|
// Of course a ZLP is a short packet.
|
||||||
if((!zlp && (xfer->total_len == xfer->queued_len)) || xfer->short_packet)
|
if((!zlp && (xfer->total_len == xfer->queued_len)) || xfer->short_packet)
|
||||||
{
|
{
|
||||||
dcd_event_xfer_complete(0, ep_num, xfer->queued_len, XFER_RESULT_SUCCESS, true);
|
dcd_event_xfer_complete(0, ep_num | TUSB_DIR_IN_MASK, xfer->queued_len, XFER_RESULT_SUCCESS, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue