Skip to content

Commit 3911fa7

Browse files
facchinmcmaglie
authored andcommitted
fix HID headers
1 parent 65d17fc commit 3911fa7

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

hardware/arduino/avr/cores/arduino/USBCore.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,6 @@
6161
#define MSC_RESET 0xFF
6262
#define MSC_GET_MAX_LUN 0xFE
6363

64-
#define HID_GET_REPORT 0x01
65-
#define HID_GET_IDLE 0x02
66-
#define HID_GET_PROTOCOL 0x03
67-
#define HID_SET_REPORT 0x09
68-
#define HID_SET_IDLE 0x0A
69-
#define HID_SET_PROTOCOL 0x0B
70-
7164
// Descriptors
7265

7366
#define USB_DEVICE_DESC_SIZE 18
@@ -131,11 +124,6 @@
131124
#define MSC_SUBCLASS_SCSI 0x06
132125
#define MSC_PROTOCOL_BULK_ONLY 0x50
133126

134-
#define HID_HID_DESCRIPTOR_TYPE 0x21
135-
#define HID_REPORT_DESCRIPTOR_TYPE 0x22
136-
#define HID_PHYSICAL_DESCRIPTOR_TYPE 0x23
137-
138-
139127
// Device
140128
typedef struct {
141129
u8 len; // 18

0 commit comments

Comments
 (0)