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.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();