diff options
| author | hathach <[email protected]> | 2018-07-13 16:09:26 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-07-13 16:09:26 +0700 |
| commit | dccb06ba7d7c1a162ea84b98b1429ff8f4b74b0e (patch) | |
| tree | 8c697ee8065b4c65ee1c496bca34154952afcbd7 /src/class/cdc/cdc_device.c | |
| parent | 5f8882a6d75c64bd00bd017a3ad1290159160a1b (diff) | |
rename class driver close() to reset()
Diffstat (limited to 'src/class/cdc/cdc_device.c')
| -rw-r--r-- | src/class/cdc/cdc_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_device.c b/src/class/cdc/cdc_device.c index 9c991b5ab..643706269 100644 --- a/src/class/cdc/cdc_device.c +++ b/src/class/cdc/cdc_device.c @@ -232,7 +232,7 @@ tusb_error_t cdcd_open(uint8_t rhport, tusb_desc_interface_t const * p_interface return TUSB_ERROR_NONE;
}
-void cdcd_close(uint8_t rhport)
+void cdcd_reset(uint8_t rhport)
{
// no need to close opened pipe, dcd bus reset will put controller's endpoints to default state
(void) rhport;
|
