X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/dc83f73ca34610aaf48962abeb06fb21d9bde23b..eeba38e343a299e12964aec15fd43108d3dc9130:/Demos/Device/GenericHID/GenericHID.h diff --git a/Demos/Device/GenericHID/GenericHID.h b/Demos/Device/GenericHID/GenericHID.h index 4bdf2361f..5841595e3 100644 --- a/Demos/Device/GenericHID/GenericHID.h +++ b/Demos/Device/GenericHID/GenericHID.h @@ -47,7 +47,7 @@ #include "Descriptors.h" #include // Library Version Information - #include // PROGMEM tags readable by the ButtLoad project + #include // Simple scheduler for task management #include // USB Functionality #include // LEDs driver @@ -68,9 +68,6 @@ }; /* Event Handlers: */ - /** Indicates that this module will catch the USB_Reset event when thrown by the library. */ - HANDLES_EVENT(USB_Reset); - /** Indicates that this module will catch the USB_Connect event when thrown by the library. */ HANDLES_EVENT(USB_Connect); @@ -79,6 +76,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);