diff options
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd.c | 4 | ||||
| -rw-r--r-- | src/device/usbd_pvt.h | 2 |
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 |
