rcinput.cpp: fix key repeat for osmio4k

This commit is contained in:
Markus Volk
2020-02-27 08:19:52 +01:00
parent c687e87e7a
commit d02717ad69

View File

@@ -1429,6 +1429,7 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
if ((now_pressed > last_keypress + repeat_block_generic) || if ((now_pressed > last_keypress + repeat_block_generic) ||
/* accept all keys after time discontinuity: */ /* accept all keys after time discontinuity: */
(now_pressed < last_keypress)) (now_pressed < last_keypress))
rc_last_repeat_key = trkey;
#endif #endif
{ {
last_keypress = now_pressed; last_keypress = now_pressed;