From 2d63f3f32ca172639cf297ca623f21c8dccfe586 Mon Sep 17 00:00:00 2001 From: BPanther Date: Wed, 1 May 2024 02:27:22 +0200 Subject: [PATCH] fix rc (thx mohousch) --- 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 7c99cecbd..cb4147e2b 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -1242,7 +1242,7 @@ void CRCInput::getMsg_us(neutrino_msg_t *msg, neutrino_msg_data_t *data, uint64_ } 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().