summaryrefslogtreecommitdiff
path: root/hid/src/main.cpp
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-15 21:03:55 +0300
committerMaxim Devaev <[email protected]>2022-07-15 21:03:55 +0300
commit9f289914e90011208a54292d43208c6bd1a0b9b9 (patch)
treedf893468881fdb18c7c8d492df55bf25bb450b59 /hid/src/main.cpp
parent24651f4db3fabc2b5a66125744380d5d5aa1ab4e (diff)
refactoring
Diffstat (limited to 'hid/src/main.cpp')
-rw-r--r--hid/src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/hid/src/main.cpp b/hid/src/main.cpp
index b1512a0d..7a7b83db 100644
--- a/hid/src/main.cpp
+++ b/hid/src/main.cpp
@@ -43,10 +43,12 @@
#endif
#include "outputs.h"
+
+static Outputs _out;
#ifdef HID_DYNAMIC
static bool _reset_required = false;
#endif
-static Outputs _out;
+
// -----------------------------------------------------------------------------
static void _cmdSetKeyboard(const uint8_t *data) { // 1 bytes