summaryrefslogtreecommitdiff
path: root/tinyusb/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-11-15 13:26:12 +0700
committerhathach <[email protected]>2013-11-15 13:26:12 +0700
commit05c439e45adec2a29b73d948ecf96af4e0fae375 (patch)
treed485364a7da32cbf7034b9a12d09892587b1f19d /tinyusb/host
parentfc68439b746a466aa3d0bf197ee3f70cfa079f24 (diff)
refractor usbd, first step to make get configuration as sub task
Diffstat (limited to 'tinyusb/host')
-rw-r--r--tinyusb/host/usbh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tinyusb/host/usbh.c b/tinyusb/host/usbh.c
index d058f8b66..23ab2ba24 100644
--- a/tinyusb/host/usbh.c
+++ b/tinyusb/host/usbh.c
@@ -360,6 +360,7 @@ tusb_error_t enumeration_body_subtask(void)
OSAL_SUBTASK_BEGIN
osal_queue_receive(enum_queue_hdl, &enum_entry, OSAL_TIMEOUT_WAIT_FOREVER, &error);
+ SUBTASK_ASSERT_STATUS(error);
usbh_devices[0].core_id = enum_entry.core_id; // TODO refractor integrate to device_pool
usbh_devices[0].hub_addr = enum_entry.hub_addr;