mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 13:36:52 +02:00
octoserve scif configuration for tuners 9+
This commit is contained in:
parent
4bcb9b5d63
commit
450af2025e
@ -1289,8 +1289,9 @@ void scif_config(struct octoserve *os, char *name, char *val)
|
|||||||
dbgprintf(DEBUG_DVB, "setting type = %d\n", os->scif_type);
|
dbgprintf(DEBUG_DVB, "setting type = %d\n", os->scif_type);
|
||||||
}
|
}
|
||||||
if (!strncasecmp(name, "tuner", 5) &&
|
if (!strncasecmp(name, "tuner", 5) &&
|
||||||
name[5] >= 0x31 && name[5] <= 0x38) {
|
name[5] >= 0x31 && name[5] <= 0x39) {
|
||||||
int fe = name[5] - 0x31;
|
int fe = strtol(name + 5, NULL, 10 );
|
||||||
|
if(fe >= 1 && fe <= MAX_DVB_FE) {
|
||||||
char *end;
|
char *end;
|
||||||
unsigned long int nr = strtoul(val, &end, 10), freq = 0;
|
unsigned long int nr = strtoul(val, &end, 10), freq = 0;
|
||||||
|
|
||||||
@ -1313,6 +1314,7 @@ void scif_config(struct octoserve *os, char *name, char *val)
|
|||||||
os->dvbfe[fe].scif_freq);
|
os->dvbfe[fe].scif_freq);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void set_lnb(struct octoserve *os, int tuner,
|
void set_lnb(struct octoserve *os, int tuner,
|
||||||
|
Loading…
Reference in New Issue
Block a user