zapit/src/frontend.cpp: fix remember currentSatellitePosition

This commit is contained in:
[CST] Focus
2012-04-25 11:26:07 +04:00
parent aad9a3a294
commit ea09a58588

View File

@@ -1014,6 +1014,7 @@ bool CFrontend::setInput(CZapitChannel * channel, bool nvod)
currentTransponder.TP_id = tpI->first;
currentSatellitePosition = channel->getSatellitePosition();
setInput(channel->getSatellitePosition(), tpI->second.feparams.frequency, tpI->second.polarization);
return true;
}
@@ -1428,8 +1429,6 @@ int CFrontend::driveToSatellitePosition(t_satellite_position satellitePosition,
rotorSatellitePosition = satellitePosition;
}
}
//FIXME we never remember currentSatellitePosition for non-rotor ?
currentSatellitePosition = satellitePosition;
return waitForMotor;
}