diff options
| author | hathach <[email protected]> | 2013-07-04 12:25:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-07-04 12:25:39 +0700 |
| commit | 391e132d6bf37bcbb4211729b3728a85c4f5d174 (patch) | |
| tree | d11a05b7682441fc9a5165138bb6e697f67781a7 /tinyusb/device | |
| parent | 8c0bc3871304201c2135504bbc18228de2e891d0 (diff) | |
no big deal, only rename tusb_std_request_t to tusb_control_request_t
Diffstat (limited to 'tinyusb/device')
| -rw-r--r-- | tinyusb/device/usbd.h | 2 | ||||
| -rw-r--r-- | tinyusb/device/usbd_dcd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/device/usbd.h b/tinyusb/device/usbd.h index 2f362f6fd..86e4da656 100644 --- a/tinyusb/device/usbd.h +++ b/tinyusb/device/usbd.h @@ -66,7 +66,7 @@ //--------------------------------------------------------------------+ typedef struct { tusb_error_t (* const init)(uint8_t, tusb_descriptor_interface_t const *, uint16_t*); - tusb_error_t (* const control_request) (uint8_t, tusb_std_request_t const *); + tusb_error_t (* const control_request) (uint8_t, tusb_control_request_t const *); // void (* const isr) (pipe_handle_t, tusb_event_t); // void (* const close) (uint8_t); } device_class_driver_t; diff --git a/tinyusb/device/usbd_dcd.h b/tinyusb/device/usbd_dcd.h index bf6ca0d3e..b824012e4 100644 --- a/tinyusb/device/usbd_dcd.h +++ b/tinyusb/device/usbd_dcd.h @@ -60,7 +60,7 @@ typedef struct { volatile uint8_t state; uint8_t address; - tusb_std_request_t setup_packet; + tusb_control_request_t setup_packet; uint8_t interface2class[USBD_MAX_INTERFACE]; // determine interface number belongs to which class uint8_t endpoint_idx2class[USBD_MAX_ENDPOINT]; // determine endpoint index belongs to which class }usbd_device_info_t; |
