summaryrefslogtreecommitdiff
path: root/lirc.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-04-12 14:37:57 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-04-12 14:37:57 +0200
commitf20648eab26f8efee41642f198da3d35b2d408c1 (patch)
tree411516a15e64095a26b46515364e3ca864db99fb /lirc.c
parentbd233752488dc28a81137e45d177f77177ba10e2 (diff)
downloadvdr-f20648eab26f8efee41642f198da3d35b2d408c1.tar.gz
vdr-f20648eab26f8efee41642f198da3d35b2d408c1.tar.bz2
The LIRC and RCU remote control no longer try to learn keys in case of errors during startup
Diffstat (limited to 'lirc.c')
-rw-r--r--lirc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/lirc.c b/lirc.c
index 2c92f6ab..b7f5b936 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 1.3 2003/04/06 15:45:10 kls Exp $
+ * $Id: lirc.c 1.4 2003/04/12 14:37:17 kls Exp $
*/
#include "lirc.h"
@@ -41,6 +41,11 @@ cLircRemote::~cLircRemote()
Cancel();
}
+bool cLircRemote::Ready(void)
+{
+ return f >= 0;
+}
+
void cLircRemote::Action(void)
{
dsyslog("LIRC remote control thread started (pid=%d)", getpid());