summaryrefslogtreecommitdiff
path: root/hid/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hid/src/main.cpp')
-rw-r--r--hid/src/main.cpp12
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