From af1ffe4675ca9eeeebd47a82f3508eecdc1486c5 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 13 Dec 2018 13:53:43 +0700 Subject: remove task void* param --- src/host/usbh.c | 4 +--- src/host/usbh.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/host') diff --git a/src/host/usbh.c b/src/host/usbh.c index 7bcf7aaaf..27d32330a 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -602,10 +602,8 @@ bool enum_task(hcd_event_t* event) /* USB Host Driver task * This top level thread manages all host controller event and delegates events to class-specific drivers. */ -void usbh_task(void* param) +void usbh_task(void) { - (void) param; - // Loop until there is no more events in the queue while (1) { diff --git a/src/host/usbh.h b/src/host/usbh.h index 3656b9a0d..8009c5080 100644 --- a/src/host/usbh.h +++ b/src/host/usbh.h @@ -103,7 +103,7 @@ ATTR_WEAK void tuh_umount_cb(uint8_t dev_addr); #ifdef _TINY_USB_SOURCE_FILE_ bool usbh_init(void); -void usbh_task(void* param); +void usbh_task(void); bool usbh_control_xfer (uint8_t dev_addr, tusb_control_request_t* request, uint8_t* data); -- cgit v1.3.1