Skip to content

Commit 81cbda3

Browse files
committed
Fixed bug in USBCore::send... (yikes!)
1 parent ac16594 commit 81cbda3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: cores/arduino/USB/USBCore.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,7 @@ uint32_t USBDeviceClass::send(uint32_t ep, const void *data, uint32_t len)
624624
; // need fire exit.
625625
}
626626
len -= length;
627+
data += length;
627628
}
628629
return len;
629630
}

0 commit comments

Comments
 (0)