diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-07-27 13:45:55 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-07-27 13:45:55 +0200 |
commit | 47b859c15677e73e2e0a0fef8f244a6b3fd6b3df (patch) | |
tree | baf9b4b56d2f1e53984ad95897d47fa9e8942cf3 /config.c | |
parent | d008680ad78832701d59d54733d302c0287bc879 (diff) | |
download | vdr-47b859c15677e73e2e0a0fef8f244a6b3fd6b3df.tar.gz vdr-47b859c15677e73e2e0a0fef8f244a6b3fd6b3df.tar.bz2 |
DiSEqC support can now be generally enabled/disabled
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.c 1.51 2001/07/27 11:27:27 kls Exp $ + * $Id: config.c 1.52 2001/07/27 13:45:28 kls Exp $ */ #include "config.h" @@ -764,6 +764,7 @@ cSetup::cSetup(void) LnbSLOF = 11700; LnbFrequLo = 9750; LnbFrequHi = 10600; + DiSEqC = 1; SetSystemTime = 0; MarginStart = 2; MarginStop = 10; @@ -793,6 +794,7 @@ bool cSetup::Parse(char *s) else if (!strcasecmp(Name, "LnbSLOF")) LnbSLOF = atoi(Value); else if (!strcasecmp(Name, "LnbFrequLo")) LnbFrequLo = atoi(Value); else if (!strcasecmp(Name, "LnbFrequHi")) LnbFrequHi = atoi(Value); + else if (!strcasecmp(Name, "DiSEqC")) DiSEqC = atoi(Value); else if (!strcasecmp(Name, "SetSystemTime")) SetSystemTime = atoi(Value); else if (!strcasecmp(Name, "MarginStart")) MarginStart = atoi(Value); else if (!strcasecmp(Name, "MarginStop")) MarginStop = atoi(Value); @@ -857,6 +859,7 @@ bool cSetup::Save(const char *FileName) fprintf(f, "LnbSLOF = %d\n", LnbSLOF); fprintf(f, "LnbFrequLo = %d\n", LnbFrequLo); fprintf(f, "LnbFrequHi = %d\n", LnbFrequHi); + fprintf(f, "DiSEqC = %d\n", DiSEqC); fprintf(f, "SetSystemTime = %d\n", SetSystemTime); fprintf(f, "MarginStart = %d\n", MarginStart); fprintf(f, "MarginStop = %d\n", MarginStop); |