code cleanup
This commit is contained in:
@@ -23,15 +23,7 @@ struct report_desc {
|
||||
bool listening;
|
||||
};
|
||||
|
||||
struct report_data {
|
||||
uint8_t dev_addr;
|
||||
uint8_t instance;
|
||||
uint8_t report[REPORT_MAX_SIZE];
|
||||
uint16_t len;
|
||||
};
|
||||
|
||||
#define REPORT_DESC_ALLOC() (struct report_desc *)malloc(sizeof(struct report_desc))
|
||||
#define REPORT_DATA_ALLOC() (struct report_data *)malloc(sizeof(struct report_data))
|
||||
|
||||
extern host_state_t host_state;
|
||||
extern struct report_desc *descriptors;
|
||||
|
||||
Reference in New Issue
Block a user