buffer hid messages then act on cmd

This commit is contained in:
Conor Patrick
2018-04-30 23:27:26 -04:00
parent f9d89dad4d
commit 2bea99d41e
4 changed files with 245 additions and 12 deletions

3
util.h
View File

@@ -4,4 +4,7 @@
void dump_hex(uint8_t * buf, int size);
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
#endif