Menu

#331 Patch for "fix timing issue w/repeat after release" seems not completed

0.9.4
open
None
na
2018-05-29
2018-05-29
No

Hi, Christoph,
The Commit [46cbc5] seems lost one line to set the "rec_buffer.last_signal_time",

diff -Naur lirc-0.9.4b.org/lib/receive.c lirc-0.9.4b.new/lib/receive.c
--- lirc-0.9.4b.org/lib/receive.c   2016-08-08 19:22:22.000000000 +0800
+++ lirc-0.9.4b.new/lib/receive.c   2017-01-09 16:37:41.030057947 +0800
@@ -144,6 +144,7 @@
            return 0;
        }

+       gettimeofday(&rec_buffer.last_signal_time, NULL);  /* <---- */
        rec_buffer.data[rec_buffer.wptr] = data;
        if (rec_buffer.input_log != NULL)
            log_input(data);

Related

Commit: [46cbc5]

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.