summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-10-08 16:18:23 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-10-08 16:18:23 +0200
commit212468e2e0c9809486040c019005b8da65214f81 (patch)
treeb069b7c48991e822ddd145cd2f2caae67f4bdcd6 /config.c
parentd5df19dca1a1991475ac8c09aea9713363ad63cb (diff)
downloadvdr-212468e2e0c9809486040c019005b8da65214f81.tar.gz
vdr-212468e2e0c9809486040c019005b8da65214f81.tar.bz2
LNB frequencies can now be configured
Diffstat (limited to 'config.c')
-rw-r--r--config.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/config.c b/config.c
index c7801912..1714651f 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c 1.25 2000/10/08 12:41:59 kls Exp $
+ * $Id: config.c 1.26 2000/10/08 16:10:40 kls Exp $
*/
#include "config.h"
@@ -597,6 +597,8 @@ cSetup::cSetup(void)
ShowInfoOnChSwitch = 1;
MenuScrollPage = 1;
MarkInstantRecord = 1;
+ LnbFrequLo = 9750;
+ LnbFrequHi = 10600;
}
bool cSetup::Parse(char *s)
@@ -609,6 +611,8 @@ bool cSetup::Parse(char *s)
else if (!strcasecmp(Name, "ShowInfoOnChSwitch")) ShowInfoOnChSwitch = atoi(Value);
else if (!strcasecmp(Name, "MenuScrollPage")) MenuScrollPage = atoi(Value);
else if (!strcasecmp(Name, "MarkInstantRecord")) MarkInstantRecord = atoi(Value);
+ else if (!strcasecmp(Name, "LnbFrequLo")) LnbFrequLo = atoi(Value);
+ else if (!strcasecmp(Name, "LnbFrequHi")) LnbFrequHi = atoi(Value);
else
return false;
return true;
@@ -654,6 +658,8 @@ bool cSetup::Save(const char *FileName)
fprintf(f, "ShowInfoOnChSwitch = %d\n", ShowInfoOnChSwitch);
fprintf(f, "MenuScrollPage = %d\n", MenuScrollPage);
fprintf(f, "MarkInstantRecord = %d\n", MarkInstantRecord);
+ fprintf(f, "LnbFrequLo = %d\n", LnbFrequLo);
+ fprintf(f, "LnbFrequHi = %d\n", LnbFrequHi);
fclose(f);
isyslog(LOG_INFO, "saved setup to %s", FileName);
return true;