diff options
| author | Reinhard Panhuber <[email protected]> | 2021-04-30 17:23:34 +0200 |
|---|---|---|
| committer | Reinhard Panhuber <[email protected]> | 2021-04-30 17:23:34 +0200 |
| commit | 6acfa14fec1805b6f875f4bdbe00360065e72731 (patch) | |
| tree | 12946d450dcf7545216944fccf3a7a15a2b1cce6 /src | |
| parent | 54f332fae095c1bc15d631fd3b5ef79f8a707578 (diff) | |
Fix bug in cdc_peek
Diffstat (limited to 'src')
| -rw-r--r-- | src/class/cdc/cdc_device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_device.h b/src/class/cdc/cdc_device.h index 614bbf5dc..986585c5b 100644 --- a/src/class/cdc/cdc_device.h +++ b/src/class/cdc/cdc_device.h @@ -209,7 +209,7 @@ static inline void tud_cdc_read_flush (void) static inline bool tud_cdc_peek (uint8_t* u8) { - return tud_cdc_n_peek(u8); + return tud_cdc_n_peek(0, u8); } static inline uint32_t tud_cdc_write_char (char ch) |
