Changed GenericHID device demo to use the LUFA scheduler, added INTERRUPT_DATA_ENDPOINT and INTERRUPT_CONTROL_ENDPOINT compile time options.
This commit is contained in:
parent
6198289b38
commit
ece9e3d599
8 changed files with 113 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue