diff options
author | Maxim Devaev <[email protected]> | 2022-12-06 20:56:27 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-12-06 20:56:27 +0300 |
commit | c6e3df51a0ac2737df72ca9394b70fce5f31a1c2 (patch) | |
tree | baef05a6de4e5ffe77315cb24997bbbea3ac30fd | |
parent | 0d184daf0d2311025c6c614333546d05e45ba41d (diff) |
hid: fixed !HID_DYNAMIC
-rw-r--r-- | hid/src/main.cpp | 2 |
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 |