revert changes to usbds configuration_reset() (deal with it in separated PR)

This commit is contained in:
hathach
2024-07-19 17:10:53 +07:00
parent 4b55af17c9
commit be18af8235
2 changed files with 5 additions and 10 deletions

View File

@@ -81,8 +81,7 @@ typedef struct {
CFG_TUD_MEM_SECTION static cdcd_interface_t _cdcd_itf[CFG_TUD_CDC];
static tud_cdc_configure_fifo_t _cdcd_fifo_cfg;
static bool _prep_out_transaction (cdcd_interface_t* p_cdc, bool itf_open)
{
static bool _prep_out_transaction (cdcd_interface_t* p_cdc, bool itf_open) {
uint8_t const rhport = 0;
// Skip if usb is not ready yet