diff options
author | Maxim Devaev <[email protected]> | 2023-03-04 20:02:28 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-03-04 20:02:28 +0200 |
commit | 50b6237e983de3ccc364acf76898100effb1ba0c (patch) | |
tree | 3b6b2817288c020aa6f7f6475f56462b8017137e /hid/src/main.cpp | |
parent | 79e1b457b7fff18577745cfbb0b96d03c60281eb (diff) |
refactoring
Diffstat (limited to 'hid/src/main.cpp')
-rw-r--r-- | hid/src/main.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/hid/src/main.cpp b/hid/src/main.cpp index 63e776f1..72f3ae26 100644 --- a/hid/src/main.cpp +++ b/hid/src/main.cpp @@ -24,19 +24,21 @@ #include "tools.h" #include "proto.h" +#include "board.h" +#include "outputs.h" #ifdef AUM # include "aum.h" #endif -#include "board.h" -#include "outputs.h" -static DRIVERS::Connection* _conn; -static DRIVERS::Board* _board; + +static DRIVERS::Connection *_conn; +static DRIVERS::Board *_board; static Outputs _out; + #ifdef HID_DYNAMIC +# define RESET_TIMEOUT 500000 static bool _reset_required = false; static unsigned long _reset_timestamp; -# define RESET_TIMEOUT 500000 #endif |