mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-04 19:20:26 +00:00
dcd_msp430x5xx: Fix typo in copy-paste in transmit_packet.
This commit is contained in:
parent
c8e899fef0
commit
d0146be00b
@ -501,7 +501,7 @@ static void transmit_packet(uint8_t ep_num)
|
|||||||
ep_buf[i] = base[i];
|
ep_buf[i] = base[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
ep_regs[BCTX] = (ep_regs[BCTX] & 0xF0) + (xfer_size & 0x7F);
|
ep_regs[BCTX] = (ep_regs[BCTX] & 0x80) + (xfer_size & 0x7F);
|
||||||
ep_regs[BCTX] &= ~NAK;
|
ep_regs[BCTX] &= ~NAK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user