summaryrefslogtreecommitdiff
path: root/src/class/cdc/cdc_device.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-07-13 16:09:26 +0700
committerhathach <[email protected]>2018-07-13 16:09:26 +0700
commitdccb06ba7d7c1a162ea84b98b1429ff8f4b74b0e (patch)
tree8c697ee8065b4c65ee1c496bca34154952afcbd7 /src/class/cdc/cdc_device.h
parent5f8882a6d75c64bd00bd017a3ad1290159160a1b (diff)
rename class driver close() to reset()
Diffstat (limited to 'src/class/cdc/cdc_device.h')
-rw-r--r--src/class/cdc/cdc_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_device.h b/src/class/cdc/cdc_device.h
index a754669df..bdce0f86e 100644
--- a/src/class/cdc/cdc_device.h
+++ b/src/class/cdc/cdc_device.h
@@ -99,7 +99,7 @@ void cdcd_init (void);
tusb_error_t cdcd_open (uint8_t rhport, tusb_desc_interface_t const * p_interface_desc, uint16_t *p_length);
tusb_error_t cdcd_control_request_st (uint8_t rhport, tusb_control_request_t const * p_request);
tusb_error_t cdcd_xfer_cb (uint8_t rhport, uint8_t edpt_addr, tusb_event_t event, uint32_t xferred_bytes);
-void cdcd_close (uint8_t rhport);
+void cdcd_reset (uint8_t rhport);
#if CFG_TUD_CDC_FLUSH_ON_SOF
void cdcd_sof(uint8_t rhport);