Moved USB_EP_SIZE definition
This was needed in order to use the HID_Core without an USB AVR to still use the HID APIs
This commit is contained in:
parent
300d043a24
commit
691befadf4
2 changed files with 7 additions and 7 deletions
|
|
@ -52,6 +52,13 @@ typedef unsigned long u32;
|
|||
|
||||
#include "Arduino.h"
|
||||
|
||||
// edit by NicoHood
|
||||
// this definitions is usefull if you want to reduce the EP_SIZE to 16
|
||||
// at the moment only 64 and 16 as EP_SIZE for all EPs are supported except the control endpoint
|
||||
#ifndef USB_EP_SIZE
|
||||
#define USB_EP_SIZE 64
|
||||
#endif
|
||||
|
||||
#if defined(USBCON)
|
||||
|
||||
#include "USBDesc.h"
|
||||
|
|
|
|||
|
|
@ -79,13 +79,6 @@ THE SOFTWARE.
|
|||
#define HID_TX HID_ENDPOINT_INT
|
||||
#endif
|
||||
|
||||
// edit by NicoHood
|
||||
// this definitions is usefull if you want to reduce the EP_SIZE to 16
|
||||
// at the moment only 64 and 16 as EP_SIZE for all EPs are supported except the control endpoint
|
||||
#ifndef USB_EP_SIZE
|
||||
#define USB_EP_SIZE 64
|
||||
#endif
|
||||
|
||||
#define IMANUFACTURER 1
|
||||
#define IPRODUCT 2
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue