diff options
| author | hathach <[email protected]> | 2018-12-12 13:00:59 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-12 13:00:59 +0700 |
| commit | b6cb4757d27fa35564686baab82f7a86094787a7 (patch) | |
| tree | 37eba83c842603681299f17774f787600d072514 /src/device/usbd_pvt.h | |
| parent | 5fd60e57617dab3afcb03d245c25b676ef4ab65f (diff) | |
change class driver open return type to bool
Diffstat (limited to 'src/device/usbd_pvt.h')
| -rw-r--r-- | src/device/usbd_pvt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h index cbe5017bb..798a871b1 100644 --- a/src/device/usbd_pvt.h +++ b/src/device/usbd_pvt.h @@ -70,7 +70,7 @@ void usbd_control_stall(uint8_t rhport); /* Helper *------------------------------------------------------------------*/ // helper to parse an pair of In and Out endpoint descriptors. They must be consecutive -tusb_error_t usbd_open_edpt_pair(uint8_t rhport, tusb_desc_endpoint_t const* p_desc_ep, uint8_t xfer_type, uint8_t* ep_out, uint8_t* ep_in); +bool usbd_open_edpt_pair(uint8_t rhport, tusb_desc_endpoint_t const* p_desc_ep, uint8_t xfer_type, uint8_t* ep_out, uint8_t* ep_in); void usbd_defer_func( osal_task_func_t func, void* param, bool in_isr ); |
