handle resending failed HID reports

This commit is contained in:
2025-09-30 12:39:33 -04:00
parent 3014bc0c3b
commit 9762476e4b
2 changed files with 37 additions and 6 deletions
+7
View File
@@ -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;