delete workq
This commit is contained in:
@@ -830,8 +830,6 @@ int usbh_initialize(void)
|
||||
usbh_class_info_table_end = (struct usbh_class_info *)&_usbh_class_info_end;
|
||||
#endif
|
||||
|
||||
usbh_workq_initialize();
|
||||
|
||||
usbh_core_cfg.pscevent = usb_osal_event_create();
|
||||
if (usbh_core_cfg.pscevent == NULL) {
|
||||
return -1;
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include "usb_log.h"
|
||||
#include "usb_hc.h"
|
||||
#include "usb_osal.h"
|
||||
#include "usb_workq.h"
|
||||
#include "usbh_hub.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -129,7 +128,6 @@ typedef struct usbh_hub {
|
||||
struct usb_hub_descriptor hub_desc;
|
||||
struct usbh_hubport child[CONFIG_USBHOST_EHPORTS];
|
||||
struct usbh_hubport *parent; /* Parent hub port */
|
||||
struct usb_work work;
|
||||
} usbh_hub_t;
|
||||
|
||||
void usbh_event_notify_handler(uint8_t event, uint8_t rhport);
|
||||
|
||||
Reference in New Issue
Block a user