move osal_queue_send of osal_none to osal_none.c

This commit is contained in:
hathach
2014-04-18 14:45:21 +07:00
parent 6aecb62be2
commit 4091ddc4fc
12 changed files with 87 additions and 89 deletions

View File

@@ -549,7 +549,6 @@ static void port_connect_status_change_isr(uint8_t hostid)
}else // device unplugged
{
usbh_hcd_rhport_unplugged_isr(hostid);
// regs->usb_cmd_bit.advacne_async = 1; // Async doorbell check EHCI 4.8.2 for operational details
}
}

View File

@@ -153,7 +153,7 @@ typedef struct {
STATIC_ASSERT( sizeof(ehci_qtd_t) == 32, "size is not correct" );
/// Queue Head (section 3.6)
typedef struct {
typedef struct ATTR_ALIGNED(32) {
/// Word 0: Queue Head Horizontal Link Pointer
ehci_link_t next;

View File

@@ -112,7 +112,7 @@ enum { ENUM_QUEUE_DEPTH = 8 };
OSAL_TASK_DEF(usbh_enumeration_task, 200, TUSB_CFG_OS_TASK_PRIO);
OSAL_QUEUE_DEF(enum_queue_def, ENUM_QUEUE_DEPTH, uint32_t);
static osal_queue_handle_t enum_queue_hdl;
STATIC_VAR osal_queue_handle_t enum_queue_hdl;
TUSB_CFG_ATTR_USBRAM ATTR_ALIGNED(4) STATIC_VAR uint8_t enum_data_buffer[TUSB_CFG_HOST_ENUM_BUFFER_SIZE];
//------------- Reporter Task Data -------------//