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/device/usbd.c | 4 +--- src/device/usbd_pvt.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/device') diff --git a/src/device/usbd.c b/src/device/usbd.c index a0ff96e8e..aa81cb118 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -209,10 +209,8 @@ static void usbd_reset(uint8_t rhport) /* USB Device Driver task * This top level thread manages all device controller event and delegates events to class-specific drivers. */ -void usbd_task( void* param) +void usbd_task (void) { - (void) param; - // Loop until there is no more events in the queue while (1) { diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h index 798a871b1..d1fccd9e0 100644 --- a/src/device/usbd_pvt.h +++ b/src/device/usbd_pvt.h @@ -52,7 +52,7 @@ extern tud_desc_set_t const* usbd_desc_set; // INTERNAL API for stack management //--------------------------------------------------------------------+ bool usbd_init (void); -void usbd_task (void* param); +void usbd_task (void); // Carry out Data and Status stage of control transfer -- cgit v1.3.1