Implementation of the discussed changes

- remove usbd_edpt_xfer_abort
- rename tu_fifo_change_mode to tu_fifo_set_mode
- remove CFG_TUD_CDC_CLEAR_AT_CONNECTION definition
- remove auto fifo clear at connection event
- add tud_cdc_n_write_clear function
This commit is contained in:
Jan Dümpelmann
2020-11-18 09:42:50 +01:00
parent af9f0f1cd6
commit 54e29e9ff4
6 changed files with 24 additions and 46 deletions

View File

@@ -603,9 +603,11 @@ bool tu_fifo_clear(tu_fifo_t *f)
@param[in] f
Pointer to the FIFO buffer to manipulate
@param[in] overwritable
Overwritable mode the fifo is set to
*/
/******************************************************************************/
bool tu_fifo_change_mode(tu_fifo_t *f, bool overwritable)
bool tu_fifo_set_mode(tu_fifo_t *f, bool overwritable)
{
tu_fifo_lock(f);