rename tud_cdc_flush() to tud_cdc_write_flush(), add tud_cdc_read_flush()
This commit is contained in:
@@ -87,7 +87,7 @@ void virtual_com_task(void)
|
||||
uint32_t count = tud_cdc_read(buf, sizeof(buf));
|
||||
|
||||
tud_cdc_write(buf, count);
|
||||
tud_cdc_flush();
|
||||
tud_cdc_write_flush();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user