diff options
author | Maxim Devaev <[email protected]> | 2023-03-04 19:41:12 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-03-04 19:41:12 +0200 |
commit | 79e1b457b7fff18577745cfbb0b96d03c60281eb (patch) | |
tree | 8a43c3ef0b0585922ea886591c8428df3e76e877 /hid/lib/drivers/connection.h | |
parent | 52ac8d93a18521f19dc45e9b4283417ed06f63d8 (diff) |
refactoring
Diffstat (limited to 'hid/lib/drivers/connection.h')
-rw-r--r-- | hid/lib/drivers/connection.h | 5 |
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; |