summaryrefslogtreecommitdiff
path: root/rcu.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 /rcu.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 'rcu.c')
-rw-r--r--rcu.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/rcu.c b/rcu.c
index 4157c0d2..5c76a35c 100644
--- a/rcu.c
+++ b/rcu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: rcu.c 1.3 2002/12/07 12:22:40 kls Exp $
+ * $Id: rcu.c 1.4 2003/04/12 14:37:13 kls Exp $
*/
#include "rcu.h"
@@ -55,6 +55,11 @@ cRcuRemote::~cRcuRemote()
Cancel();
}
+bool cRcuRemote::Ready(void)
+{
+ return f >= 0;
+}
+
bool cRcuRemote::Initialize(void)
{
if (f >= 0) {