diff options
| author | hathach <[email protected]> | 2022-12-22 11:41:27 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-12-22 11:41:27 +0700 |
| commit | c99af908f10103c0829c4adc1ef74832c3ca4482 (patch) | |
| tree | 6f242588109eb951f0700deb2625244baa457fd4 /src | |
| parent | 2d536123c8ff8dd233656f0a9d7c16aff606302d (diff) | |
fix typo
Diffstat (limited to 'src')
| -rw-r--r-- | src/tusb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tusb.c b/src/tusb.c index 8f64f4acf..a5c820b8d 100644 --- a/src/tusb.c +++ b/src/tusb.c @@ -253,7 +253,7 @@ bool stream_xfer(tu_edpt_stream_t* s, uint16_t count) }else { #if CFG_TUD_ENABLED - return usbd_edpt_xfer(s->rhport, s->ep_addr, cont ? s->ep_buf : NULL, count); + return usbd_edpt_xfer(s->rhport, s->ep_addr, count ? s->ep_buf : NULL, count); #endif } @@ -366,7 +366,6 @@ uint32_t tu_edpt_stream_read_xfer(tu_edpt_stream_t* s) { // Release endpoint since we don't make any transfer stream_release(s); - return 0; } } |
