diff options
| author | hathach <[email protected]> | 2014-04-24 23:40:28 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-04-24 23:40:28 +0700 |
| commit | 6804fee0fa571907f9311cce4f5e65aaa569dd1a (patch) | |
| tree | 9918723748113462caede6faf8ce4f2a714a14a5 /tinyusb/class | |
| parent | 75793bd8f3648d9dd0ff767dc2c1bf7eb8def2da (diff) | |
correct dcd_pipe_is_busy to use list_qtd_idx[] instead of qtd_overlay
flush usbd_queue_hdl when bus_reset
add assert check for osal_queue_send
increase ENUM_QUEUE_DEPTH for usbh
change osal_freeRTOS.h implementation to
- correctly waiting forever for semaphore wait, queue & mutex
- not use ISR safe version since it is not as generic as we want
Diffstat (limited to 'tinyusb/class')
| -rw-r--r-- | tinyusb/class/cdc_device.c | 1 | ||||
| -rw-r--r-- | tinyusb/class/msc_device.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tinyusb/class/cdc_device.c b/tinyusb/class/cdc_device.c index 2c90bfc4b..5cee0f898 100644 --- a/tinyusb/class/cdc_device.c +++ b/tinyusb/class/cdc_device.c @@ -204,7 +204,6 @@ tusb_error_t cdcd_control_request_subtask(uint8_t coreid, tusb_control_request_t case CDC_REQUEST_SET_CONTROL_LINE_STATE: // TODO extract DTE present
break;
-
default: return TUSB_ERROR_DCD_CONTROL_REQUEST_NOT_SUPPORT;
}
diff --git a/tinyusb/class/msc_device.c b/tinyusb/class/msc_device.c index 091faabb6..742fc8524 100644 --- a/tinyusb/class/msc_device.c +++ b/tinyusb/class/msc_device.c @@ -158,7 +158,7 @@ tusb_error_t mscd_xfer_cb(endpoint_handle_t edpt_hdl, tusb_event_t event, uint32 //------------- new CBW received -------------//
if ( !is_waiting_read10_write10 )
{
- if ( endpointhandle_is_equal(p_msc->edpt_in, edpt_hdl) ) return TUSB_ERROR_NONE; // bulk in interrupt for dcd to clean up
+// if ( endpointhandle_is_equal(p_msc->edpt_in, edpt_hdl) ) return TUSB_ERROR_NONE; // bulk in interrupt for dcd to clean up
ASSERT( endpointhandle_is_equal(p_msc->edpt_out, edpt_hdl) &&
xferred_bytes == sizeof(msc_cmd_block_wrapper_t) &&
|
