mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-25 10:43:44 +00:00
fix #32
This commit is contained in:
parent
5804e56e3c
commit
bd53256126
@ -296,7 +296,7 @@ void maybe_transfer_complete(void) {
|
|||||||
|
|
||||||
uint32_t epintflag = ep->EPINTFLAG.reg;
|
uint32_t epintflag = ep->EPINTFLAG.reg;
|
||||||
|
|
||||||
uint16_t total_transfer_size;
|
uint16_t total_transfer_size = 0;
|
||||||
|
|
||||||
// Handle IN completions
|
// Handle IN completions
|
||||||
if ((epintflag & USB_DEVICE_EPINTFLAG_TRCPT1) != 0) {
|
if ((epintflag & USB_DEVICE_EPINTFLAG_TRCPT1) != 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user