diff options
| author | hathach <[email protected]> | 2013-07-14 08:33:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-07-14 08:33:39 +0700 |
| commit | 3b12917fb0033e736a6e82f57004a5ad51451f3b (patch) | |
| tree | e2dc3a1db988b75c52439e5f224eb8f47bedb38a /tinyusb/host | |
| parent | 03873135a979c6d9892572d3e6d375e39459b9e0 (diff) | |
extract send message & wait & get complete message to send_message_get_response_subtask
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/usbh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tinyusb/host/usbh.c b/tinyusb/host/usbh.c index 646d472c9..2f8278f1f 100644 --- a/tinyusb/host/usbh.c +++ b/tinyusb/host/usbh.c @@ -210,7 +210,6 @@ tusb_error_t usbh_control_xfer_subtask(uint8_t dev_addr, uint8_t bmRequestType, /*SUBTASK_ASSERT_STATUS*/ (void) ( hcd_pipe_control_xfer(dev_addr, &usbh_devices[dev_addr].control.request, data) ); osal_semaphore_wait(usbh_devices[dev_addr].control.sem_hdl, OSAL_TIMEOUT_NORMAL, &error); // careful of local variable without static - osal_mutex_release(usbh_devices[dev_addr].control.mutex_hdl); // TODO make handler for this function general purpose |
