From c6e3df51a0ac2737df72ca9394b70fce5f31a1c2 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Tue, 6 Dec 2022 20:56:27 +0300 Subject: [PATCH] hid: fixed !HID_DYNAMIC --- hid/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) 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