mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
Fix bug in cdc_peek
This commit is contained in:
parent
54f332fae0
commit
6acfa14fec
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user