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:
@@ -89,7 +89,7 @@ typedef struct
|
||||
.non_used_index_space = 0xFFFF - 2*_depth-1, \
|
||||
}
|
||||
|
||||
bool tu_fifo_change_mode(tu_fifo_t *f, bool overwritable);
|
||||
bool tu_fifo_set_mode(tu_fifo_t *f, bool overwritable);
|
||||
bool tu_fifo_clear(tu_fifo_t *f);
|
||||
bool tu_fifo_config(tu_fifo_t *f, void* buffer, uint16_t depth, uint16_t item_size, bool overwritable);
|
||||
|
||||
|
Reference in New Issue
Block a user