summaryrefslogtreecommitdiff
path: root/hid/lib/drivers/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'hid/lib/drivers/connection.h')
-rw-r--r--hid/lib/drivers/connection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/hid/lib/drivers/connection.h b/hid/lib/drivers/connection.h
index 20560571..39973a5a 100644
--- a/hid/lib/drivers/connection.h
+++ b/hid/lib/drivers/connection.h
@@ -25,9 +25,10 @@
#include "driver.h"
#include "stdint.h"
+
namespace DRIVERS {
- typedef void(*DataHandler)(const uint8_t * data, size_t len);
- typedef void(*TimeoutHandler)();
+ typedef void (*DataHandler)(const uint8_t *data, size_t size);
+ typedef void (*TimeoutHandler)();
struct Connection : public Driver {
using Driver::Driver;