summaryrefslogtreecommitdiff
path: root/src/class/cdc
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-07-19 17:10:53 +0700
committerhathach <[email protected]>2024-07-19 17:10:53 +0700
commitbe18af823591389a12e246f65784646f93443882 (patch)
tree5a9cf837740fe869f1460fe9f6784ff0560805fc /src/class/cdc
parent4b55af17c90acad9c03f5f3b41645d4ed954d42f (diff)
revert changes to usbds configuration_reset() (deal with it in separated PR)
Diffstat (limited to 'src/class/cdc')
-rw-r--r--src/class/cdc/cdc_device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/class/cdc/cdc_device.c b/src/class/cdc/cdc_device.c
index 792aedf26..570c825ab 100644
--- a/src/class/cdc/cdc_device.c
+++ b/src/class/cdc/cdc_device.c
@@ -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