mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
hid: fixed !HID_DYNAMIC
This commit is contained in:
parent
0d184daf0d
commit
c6e3df51a0
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user