diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2018-09-12 15:00:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-12 15:00:24 -0700 |
| commit | beb9446f306642467b8fbc476179bc78994213c2 (patch) | |
| tree | 6e20420e4bf358774203a0a098aef87ef81882a9 | |
| parent | 2cb703913d865255b86106f5bd78b3a19f7775c8 (diff) | |
| parent | 2bd7040fe0dc5de68c9c6b731a1e5f162df9f21e (diff) | |
Merge pull request #1185 from dhalbert/usb_write-length-fix
usb_write() output_len was uint8_t instead of uint32_t
| -rw-r--r-- | ports/atmel-samd/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/atmel-samd/usb.c b/ports/atmel-samd/usb.c index f32d81e19..1f1ba550f 100644 --- a/ports/atmel-samd/usb.c +++ b/ports/atmel-samd/usb.c @@ -288,7 +288,7 @@ void usb_write(const char* buffer, uint32_t len) { return; } uint8_t * output_buffer; - uint8_t output_len; + uint32_t output_len; while (len > 0) { while (usb_transmitting) {} output_buffer = (uint8_t *) buffer; |
