diff options
| author | hathach <[email protected]> | 2019-01-23 19:06:37 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-01-23 19:06:37 +0700 |
| commit | bd5325612620209e7964f10817a57f916d3bc13f (patch) | |
| tree | 8bd353a615ecff58bd4a7cc9e4dcb38843a42a6b /src | |
| parent | 5804e56e3c2ab4480bf72d94d997f769a645af47 (diff) | |
fix #32
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/microchip/samd21/dcd_samd21.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/microchip/samd21/dcd_samd21.c b/src/portable/microchip/samd21/dcd_samd21.c index 7b2a57eeb..6140812bc 100644 --- a/src/portable/microchip/samd21/dcd_samd21.c +++ b/src/portable/microchip/samd21/dcd_samd21.c @@ -296,7 +296,7 @@ void maybe_transfer_complete(void) { uint32_t epintflag = ep->EPINTFLAG.reg; - uint16_t total_transfer_size; + uint16_t total_transfer_size = 0; // Handle IN completions if ((epintflag & USB_DEVICE_EPINTFLAG_TRCPT1) != 0) { |
