diff options
| author | hathach <[email protected]> | 2022-03-17 20:52:16 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-03-17 20:52:16 +0700 |
| commit | 55428d7dd215eb2e69a1f654ccc4730525b509d6 (patch) | |
| tree | 20f88df06e2ecedf966806839e1c0f0f266cf8bd /src/class/cdc/cdc_host.h | |
| parent | 102b99a0e8b30a03bae917028fd064ff1480275b (diff) | |
rename tuh_control_xfer_t to tuh_xfer_t
Diffstat (limited to 'src/class/cdc/cdc_host.h')
| -rw-r--r-- | src/class/cdc/cdc_host.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/class/cdc/cdc_host.h b/src/class/cdc/cdc_host.h index 67162a0ca..33dbd2efb 100644 --- a/src/class/cdc/cdc_host.h +++ b/src/class/cdc/cdc_host.h @@ -42,14 +42,14 @@ * \defgroup CDC_Serial_Host Host * @{ */ -bool tuh_cdc_set_control_line_state(uint8_t dev_addr, bool dtr, bool rts, tuh_control_xfer_cb_t complete_cb); +bool tuh_cdc_set_control_line_state(uint8_t dev_addr, bool dtr, bool rts, tuh_xfer_cb_t complete_cb); -static inline bool tuh_cdc_connect(uint8_t dev_addr, tuh_control_xfer_cb_t complete_cb) +static inline bool tuh_cdc_connect(uint8_t dev_addr, tuh_xfer_cb_t complete_cb) { return tuh_cdc_set_control_line_state(dev_addr, true, true, complete_cb); } -static inline bool tuh_cdc_disconnect(uint8_t dev_addr, tuh_control_xfer_cb_t complete_cb) +static inline bool tuh_cdc_disconnect(uint8_t dev_addr, tuh_xfer_cb_t complete_cb) { return tuh_cdc_set_control_line_state(dev_addr, false, false, complete_cb); } |
