summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 376d8a68..9ac6ea21 100644
--- a/hid/src/main.cpp
+++ b/hid/src/main.cpp
@@ -54,10 +54,12 @@ static unsigned long _reset_timestamp;
// -----------------------------------------------------------------------------
+#ifdef HID_DYNAMIC
static void _resetRequest() {
_reset_required = true;
_reset_timestamp = micros();
}
+#endif
static void _cmdSetKeyboard(const uint8_t *data) { // 1 bytes
# ifdef HID_DYNAMIC