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/custom | |
| parent | 5f8882a6d75c64bd00bd017a3ad1290159160a1b (diff) | |
rename class driver close() to reset()
Diffstat (limited to 'src/class/custom')
| -rw-r--r-- | src/class/custom/custom_device.c | 2 | ||||
| -rw-r--r-- | src/class/custom/custom_device.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/class/custom/custom_device.c b/src/class/custom/custom_device.c index 3d0453001..e4dc1a839 100644 --- a/src/class/custom/custom_device.c +++ b/src/class/custom/custom_device.c @@ -97,7 +97,7 @@ tusb_error_t cusd_xfer_cb(uint8_t rhport, uint8_t edpt_addr, tusb_event_t event, return TUSB_ERROR_NONE; } -void cusd_close(uint8_t rhport) +void cusd_reset(uint8_t rhport) { } diff --git a/src/class/custom/custom_device.h b/src/class/custom/custom_device.h index 08f4f7f4a..3e46c06a7 100644 --- a/src/class/custom/custom_device.h +++ b/src/class/custom/custom_device.h @@ -64,7 +64,7 @@ void cusd_init(void); tusb_error_t cusd_open(uint8_t rhport, tusb_desc_interface_t const * p_interface_desc, uint16_t *p_length); tusb_error_t cusd_control_request_st(uint8_t rhport, tusb_control_request_t const * p_request); tusb_error_t cusd_xfer_cb(uint8_t rhport, uint8_t edpt_addr, tusb_event_t event, uint32_t xferred_bytes); -void cusd_close(uint8_t rhport); +void cusd_reset(uint8_t rhport); #endif |
