mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
zapit/src/frontend.cpp: fix remember currentSatellitePosition
Origin commit data
------------------
Branch: ni/coolstream
Commit: ea09a58588
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-25 (Wed, 25 Apr 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1014,6 +1014,7 @@ bool CFrontend::setInput(CZapitChannel * channel, bool nvod)
|
|||||||
|
|
||||||
currentTransponder.TP_id = tpI->first;
|
currentTransponder.TP_id = tpI->first;
|
||||||
|
|
||||||
|
currentSatellitePosition = channel->getSatellitePosition();
|
||||||
setInput(channel->getSatellitePosition(), tpI->second.feparams.frequency, tpI->second.polarization);
|
setInput(channel->getSatellitePosition(), tpI->second.feparams.frequency, tpI->second.polarization);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -1428,8 +1429,6 @@ int CFrontend::driveToSatellitePosition(t_satellite_position satellitePosition,
|
|||||||
rotorSatellitePosition = satellitePosition;
|
rotorSatellitePosition = satellitePosition;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//FIXME we never remember currentSatellitePosition for non-rotor ?
|
|
||||||
currentSatellitePosition = satellitePosition;
|
|
||||||
|
|
||||||
return waitForMotor;
|
return waitForMotor;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user