Dedupe extrakey report struct, and send functions in V-USB & LUFA (#7993)

* Dedupe extrakey report struct, and send functions in V-USB & LUFA

* Doc comment for consistency

* Wrap it in ifdef to prevent unused function error

* Do the same for ATSAM
This commit is contained in:
fauxpark
2020-02-03 07:17:05 +11:00
committed by Florian Didron
parent 4c88e39d15
commit df6e5f16b6
6 changed files with 39 additions and 65 deletions
+5
View File
@@ -150,6 +150,11 @@ typedef union {
#endif
} __attribute__((packed)) report_keyboard_t;
typedef struct {
uint8_t report_id;
uint16_t usage;
} __attribute__((packed)) report_extra_t;
typedef struct {
#ifdef MOUSE_SHARED_EP
uint8_t report_id;