10000 usb_write() output_len was uint8_t instead of uint32_t · adafruit/circuitpython@2bd7040 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2bd7040

Browse files
committed
usb_write() output_len was uint8_t instead of uint32_t
1 parent 2cb7039 commit 2bd7040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/atmel-samd/usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ void usb_write(const char* buffer, uint32_t len) {
288288
return;
289289
}
290290
uint8_t * output_buffer;
291-
uint8_t output_len;
291+
uint32_t output_len;
292292
while (len > 0) {
293293
while (usb_transmitting) {}
294294
output_buffer = (uint8_t *) buffer;

0 commit comments

Comments
0 (0)
0