summaryrefslogtreecommitdiff
path: root/hid/src
diff options
context:
space:
mode:
authortomaszduda23 <[email protected]>2022-07-14 09:51:16 +0900
committerGitHub <[email protected]>2022-07-14 03:51:16 +0300
commitd409ae68c329fb436a49bf1aac51c203cbd93bda (patch)
tree87b7633703edf5cf0832538cfbdb9f684c863e64 /hid/src
parent6772d3425dc7c8d853eb3e437f02042de9947340 (diff)
prepare avr for stm32 (#104)
Diffstat (limited to 'hid/src')
-rw-r--r--hid/src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/hid/src/main.cpp b/hid/src/main.cpp
index 6f84fbc2..83a8d7f7 100644
--- a/hid/src/main.cpp
+++ b/hid/src/main.cpp
@@ -135,7 +135,9 @@ static void _initOutputs() {
break;
}
+#ifdef ARDUINO_ARCH_AVR
USBDevice.attach();
+#endif
_kbd->begin();
_mouse->begin();