summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-13 13:53:43 +0700
committerhathach <[email protected]>2018-12-13 13:53:43 +0700
commitaf1ffe4675ca9eeeebd47a82f3508eecdc1486c5 (patch)
tree19c02dfa78b2d5470b0845e86fe4e51707de61bd /src/device
parentbc46dc6edf3ff4bb72fb36e74b8a7d3da447d2d4 (diff)
remove task void* param
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.c4
-rw-r--r--src/device/usbd_pvt.h2
2 files changed, 2 insertions, 4 deletions
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