mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
zapit: CMD_TUNE_TP add default param to rolloff, make compil happy.
This commit is contained in:
@@ -1574,6 +1574,10 @@ bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd)
|
|||||||
//FIXME check scanProviders.size() !
|
//FIXME check scanProviders.size() !
|
||||||
t_satellite_position satellitePosition = scanProviders.begin()->first;
|
t_satellite_position satellitePosition = scanProviders.begin()->first;
|
||||||
printf("[zapit] tune to sat %s freq %d rate %d fec %d pol %d\n", name, TP.feparams.frequency, TP.feparams.symbol_rate, TP.feparams.fec_inner, TP.feparams.polarization);
|
printf("[zapit] tune to sat %s freq %d rate %d fec %d pol %d\n", name, TP.feparams.frequency, TP.feparams.symbol_rate, TP.feparams.fec_inner, TP.feparams.polarization);
|
||||||
|
if (TP.feparams.delsys == DVB_S)
|
||||||
|
TP.feparams.rolloff = ROLLOFF_35;
|
||||||
|
if (TP.feparams.delsys == DVB_S2)
|
||||||
|
TP.feparams.rolloff = ROLLOFF_AUTO;
|
||||||
live_fe->setInput(satellitePosition, TP.feparams.frequency, TP.feparams.polarization);
|
live_fe->setInput(satellitePosition, TP.feparams.frequency, TP.feparams.polarization);
|
||||||
live_fe->driveToSatellitePosition(satellitePosition);
|
live_fe->driveToSatellitePosition(satellitePosition);
|
||||||
} else if (CFrontend::isCable(TP.feparams.delsys)) {
|
} else if (CFrontend::isCable(TP.feparams.delsys)) {
|
||||||
|
Reference in New Issue
Block a user