summaryrefslogtreecommitdiff
path: root/lirc.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-08-22 09:35:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-08-22 09:35:35 +0200
commit58c9fdc8c5cae831b2321db1c46a21e55ab3b6a6 (patch)
tree9bbf6e6cd26e2fdc3bb993bcd93e7eb89854ea34 /lirc.c
parent7fc654eb211f6641b8a46d938876bbad538c4c16 (diff)
downloadvdr-58c9fdc8c5cae831b2321db1c46a21e55ab3b6a6.tar.gz
vdr-58c9fdc8c5cae831b2321db1c46a21e55ab3b6a6.tar.bz2
Fixed handling LIRC events in case repeated events are lost
Diffstat (limited to 'lirc.c')
-rw-r--r--lirc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lirc.c b/lirc.c
index e8d0be15..e02f2296 100644
--- a/lirc.c
+++ b/lirc.c
@@ -6,7 +6,7 @@
*
* LIRC support added by Carsten Koch <Carsten.Koch@icem.de> 2000-06-16.
*
- * $Id: lirc.c 2.5 2013/02/11 15:25:42 kls Exp $
+ * $Id: lirc.c 3.1 2013/08/22 09:22:14 kls Exp $
*/
#include "lirc.h"
@@ -111,6 +111,7 @@ void cLircRemote::Action(void)
else if (LastTime.Elapsed() < (uint)Setup.RcRepeatDelta)
continue; // skip same keys coming in too fast
else {
+ pressed = true;
repeat = true;
timeout = Delta * 10 / 9;
}