diff options
| author | hathach <[email protected]> | 2025-12-10 14:45:06 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-12-10 14:45:06 +0700 |
| commit | f1fc4c9c796e25111ad8249a4dab9245f5091c25 (patch) | |
| tree | 81930d68082612c85bb03f5e3b9829eb6ef6f294 /src/class/cdc/cdc_device.c | |
| parent | 0e48fe862292bb7b3e526a4b42bfa588d97d105e (diff) | |
change tu_fifo_clear()/tu_edpt_stream_clear() from return bool to void
Diffstat (limited to 'src/class/cdc/cdc_device.c')
| -rw-r--r-- | src/class/cdc/cdc_device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_device.c b/src/class/cdc/cdc_device.c index d7792afe4..a446782e3 100644 --- a/src/class/cdc/cdc_device.c +++ b/src/class/cdc/cdc_device.c @@ -244,7 +244,8 @@ uint32_t tud_cdc_n_write_available(uint8_t itf) { bool tud_cdc_n_write_clear(uint8_t itf) { TU_VERIFY(itf < CFG_TUD_CDC); cdcd_interface_t *p_cdc = &_cdcd_itf[itf]; - return tu_edpt_stream_clear(&p_cdc->stream.tx); + tu_edpt_stream_clear(&p_cdc->stream.tx); + return true; } //--------------------------------------------------------------------+ |
