aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/GenericHID/GenericHID.h
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/GenericHID/GenericHID.h')
-rw-r--r--Demos/Device/GenericHID/GenericHID.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Demos/Device/GenericHID/GenericHID.h b/Demos/Device/GenericHID/GenericHID.h
index 4bdf2361f..d13e6debf 100644
--- a/Demos/Device/GenericHID/GenericHID.h
+++ b/Demos/Device/GenericHID/GenericHID.h
@@ -47,6 +47,7 @@
#include "Descriptors.h"
#include <LUFA/Version.h> // Library Version Information
+ #include <LUFA/Scheduler/Scheduler.h> // Simple scheduler for task management
#include <LUFA/Common/ButtLoadTag.h> // PROGMEM tags readable by the ButtLoad project
#include <LUFA/Drivers/USB/USB.h> // USB Functionality
#include <LUFA/Drivers/Board/LEDs.h> // LEDs driver
@@ -79,6 +80,9 @@
/** Indicates that this module will catch the USB_ConfigurationChanged event when thrown by the library. */
HANDLES_EVENT(USB_ConfigurationChanged);
+
+ /* Task Definitions: */
+ TASK(USB_HID_Report);
/* Function Prototypes: */
void UpdateStatus(uint8_t CurrentStatus);