handle resending failed HID reports
This commit is contained in:
@@ -23,6 +23,13 @@ struct report_desc {
|
||||
bool listening;
|
||||
};
|
||||
|
||||
struct hid_report {
|
||||
uint8_t dev_addr;
|
||||
uint8_t instance;
|
||||
uint16_t len;
|
||||
uint8_t report[REPORT_MAX_SIZE];
|
||||
};
|
||||
|
||||
#define REPORT_DESC_ALLOC() (struct report_desc *)malloc(sizeof(struct report_desc))
|
||||
|
||||
extern host_state_t host_state;
|
||||
|
||||
Reference in New Issue
Block a user