diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-04-15 18:00:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-04-15 18:00:00 +0200 |
commit | 37250a0568d5b1d689d5c59f983e9be228ed49c2 (patch) | |
tree | f5b3cb133d5ec1ede63de04cf9c394bcf4a514a2 /remote.c | |
parent | 6feebe674c09b65e43012bf439c201cfb65aa82c (diff) | |
download | vdr-patch-lnbsharing-37250a0568d5b1d689d5c59f983e9be228ed49c2.tar.gz vdr-patch-lnbsharing-37250a0568d5b1d689d5c59f983e9be228ed49c2.tar.bz2 |
Version 0.03vdr_osm-0.03
- Actual record/replay now works.
- Dropped the idea of different "recording qualities" (a 36GB harddisk is
able to store some 18 hours in full quality, so we don't really need that).
- Termination signals are now caught and the program cleans up before exiting.
- Support for CICAM.
Diffstat (limited to 'remote.c')
-rw-r--r-- | remote.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'osm.c' for copyright information and * how to reach the author. * - * $Id: remote.c 1.1 2000/02/19 13:36:48 kls Exp $ + * $Id: remote.c 1.2 2000/04/15 16:00:51 kls Exp $ */ #include "remote.h" @@ -221,7 +221,7 @@ bool cRcIo::String(char *s) } } } - return Number(n, mode == modeH); + return Number(n, true); } bool cRcIo::DetectCode(unsigned char *Code, unsigned short *Address) @@ -244,8 +244,11 @@ bool cRcIo::DetectCode(unsigned char *Code, unsigned short *Address) String(buf); SetCode(*Code, 0); unsigned int Command; - if (GetCommand(&Command, Address)) + if (GetCommand(&Command, Address)) { + SetMode(modeB); + String("----"); return true; + } if (*Code < 'D') { (*Code)++; return false; |