The LIRC and RCU remote control no longer try to learn keys in case of errors during startup

This commit is contained in:
Klaus Schmidinger
2003-04-12 14:37:57 +02:00
parent bd23375248
commit f20648eab2
9 changed files with 49 additions and 20 deletions

7
lirc.c
View File

@@ -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());