update usbh_init and test

This commit is contained in:
hathach
2013-01-29 11:06:30 +07:00
parent 06f923c7bb
commit 6db8af2023
8 changed files with 699 additions and 689 deletions

View File

@@ -68,6 +68,8 @@ typedef struct{
volatile uint16_t rd_ptr ; ///< read pointer
} osal_queue_t;
//typedef osal_queue_t osal_queue_id_t*;
#define OSAL_DEF_QUEUE(name, size)\
osal_queue_t name;\
uint8_t buffer_##name[size]