diff options
| author | hathach <[email protected]> | 2018-03-11 12:37:07 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-11 12:37:07 +0700 |
| commit | 539fbe5d6276575d3f2dd943b7d5d7463a522732 (patch) | |
| tree | b5d2020985240da39063d02880c4f34e9785c694 /tinyusb/device/usbd.c | |
| parent | 6392903fb2b81c24bcbdfea323f58aaaf94e15ce (diff) | |
rename endpoint_handle_t to edpt_hdl_t
Diffstat (limited to 'tinyusb/device/usbd.c')
| -rw-r--r-- | tinyusb/device/usbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/device/usbd.c b/tinyusb/device/usbd.c index 38a44a70f..5fdd306de 100644 --- a/tinyusb/device/usbd.c +++ b/tinyusb/device/usbd.c @@ -138,7 +138,7 @@ typedef struct ATTR_ALIGNED(4) tusb_control_request_t setup_received;
struct { // USBD_EVENTID_XFER_DONE
- endpoint_handle_t edpt_hdl;
+ edpt_hdl_t edpt_hdl;
uint32_t xferred_byte;
}xfer_done;
};
@@ -498,7 +498,7 @@ void hal_dcd_setup_received(uint8_t port, uint8_t const* p_request) osal_queue_send(usbd_queue_hdl, &task_event);
}
-void usbd_xfer_isr(endpoint_handle_t edpt_hdl, tusb_event_t event, uint32_t xferred_bytes)
+void usbd_xfer_isr(edpt_hdl_t edpt_hdl, tusb_event_t event, uint32_t xferred_bytes)
{
if (edpt_hdl.index == 0 )
{
|
