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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user