From beb7c10977991da68de556d318c78219b2c76e06 Mon Sep 17 00:00:00 2001 From: BPanther Date: Wed, 1 May 2024 02:27:22 +0200 Subject: [PATCH] fix rc (thx mohousch) Origin commit data ------------------ Commit: https://github.com/Duckbox-Developers/neutrino-ddt/commit/2d63f3f32ca172639cf297ca623f21c8dccfe586 Author: BPanther Date: 2024-05-01 (Wed, 01 May 2024) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/rcinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index 0e22fbdc7..956a96216 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -1329,7 +1329,7 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6 } continue; } - if (ev.type == EV_SYN) + if (ev.type != EV_KEY) continue; /* ignore... */ /* try to compensate for possible changes in wall clock * kernel ev.time default uses CLOCK_REALTIME, as does gettimeofday().