Skip to content

Commit e355370

Browse files
authored
Avoid collision with tinyusb hid.h enums (#7463)
1 parent bf21695 commit e355370

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/BLE/src/HIDTypes.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
#define HID_VERSION_1_11 (0x0111)
2626

2727
/* HID Class */
28-
#define HID_CLASS (3)
29-
#define HID_SUBCLASS_NONE (0)
30-
#define HID_PROTOCOL_NONE (0)
28+
#define BLE_HID_CLASS (3)
29+
#define BLE_HID_SUBCLASS_NONE (0)
30+
#define BLE_HID_PROTOCOL_NONE (0)
3131

3232
/* Descriptors */
3333
#define HID_DESCRIPTOR (33)

0 commit comments

Comments
 (0)