File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ void cdcd_init(void) {
290290}
291291
292292bool cdcd_deinit (void ) {
293- for (uint8_t i = 0 ; i < CFG_TUD_CDC ; i ++ ) {
293+ for (uint8_t i = 0 ; i < CFG_TUD_CDC ; i ++ ) {
294294 cdcd_interface_t * p_cdc = & _cdcd_itf [i ];
295295 tu_edpt_stream_deinit (& p_cdc -> stream .rx );
296296 tu_edpt_stream_deinit (& p_cdc -> stream .tx );
@@ -305,7 +305,7 @@ void cdcd_reset(uint8_t rhport) {
305305 cdcd_interface_t * p_cdc = & _cdcd_itf [i ];
306306 tu_memclr (p_cdc , ITF_MEM_RESET_SIZE );
307307
308- tu_fifo_set_overwritable (& p_cdc -> stream .tx .ff , _cdcd_cfg .tx_overwritabe_if_not_connected ); // // back to default
308+ tu_fifo_set_overwritable (& p_cdc -> stream .tx .ff , _cdcd_cfg .tx_overwritabe_if_not_connected ); // back to default
309309 tu_edpt_stream_close (& p_cdc -> stream .rx );
310310 tu_edpt_stream_close (& p_cdc -> stream .tx );
311311 }
You can’t perform that action at this time.
0 commit comments