#define MAXREPORTLEN 256
#define MAXREPORTS 256
-typedef void ProcessReport(uint8_t msg[MAXREPORTLEN], int msglen,
- const uint8_t last[MAXREPORTLEN]);
+typedef void ProcessReport(const uint8_t *msg, int msglen, const uint8_t *last);
extern const char *const descriptor;
extern ProcessReport *const report_processors[MAXREPORTS];