diff options
| author | hathach <[email protected]> | 2018-03-14 20:48:59 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-14 20:48:59 +0700 |
| commit | 7707fe194fbd81d8970933b1ae8d7f0a2951c41b (patch) | |
| tree | 2a5f62cbe900792599f76e36597adaa18b5b3fed /tinyusb/class/hid | |
| parent | 7c70b0d0eb4203d8f56c85df7f7315d256f22fb7 (diff) | |
rename OSAL_SUBTASK_INVOKED
Diffstat (limited to 'tinyusb/class/hid')
| -rw-r--r-- | tinyusb/class/hid/hid_host.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/class/hid/hid_host.c b/tinyusb/class/hid/hid_host.c index 88e6684e9..c1751814c 100644 --- a/tinyusb/class/hid/hid_host.c +++ b/tinyusb/class/hid/hid_host.c @@ -198,7 +198,7 @@ tusb_error_t hidh_open_subtask(uint8_t dev_addr, tusb_descriptor_interface_t con OSAL_SUBTASK_BEGIN
//------------- SET IDLE (0) request -------------//
- OSAL_SUBTASK_INVOKED_AND_WAIT(
+ OSAL_SUBTASK_INVOKED(
usbh_control_xfer_subtask( dev_addr, bm_request_type(TUSB_DIR_OUT, TUSB_REQ_TYPE_CLASS, TUSB_REQ_RCPT_INTERFACE),
HID_REQUEST_CONTROL_SET_IDLE, 0, p_interface_desc->bInterfaceNumber,
0, NULL ),
@@ -210,7 +210,7 @@ tusb_error_t hidh_open_subtask(uint8_t dev_addr, tusb_descriptor_interface_t con //------------- Get Report Descriptor TODO HID parser -------------//
if ( p_desc_hid->bNumDescriptors )
{
- OSAL_SUBTASK_INVOKED_AND_WAIT(
+ OSAL_SUBTASK_INVOKED(
usbh_control_xfer_subtask( dev_addr, bm_request_type(TUSB_DIR_IN, TUSB_REQ_TYPE_STANDARD, TUSB_REQ_RCPT_INTERFACE),
TUSB_REQUEST_GET_DESCRIPTOR, (p_desc_hid->bReportType << 8), 0,
p_desc_hid->wReportLength, report_descriptor ),
|
