mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
replace GET_SATELLITEPOSITION_FROM_TRANSPONDER_ID with cached satellitePosition
Origin commit data
------------------
Commit: b69cb1019c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-10 (Tue, 10 Apr 2012)
This commit is contained in:
@@ -1011,10 +1011,7 @@ int CTPSelectHandler::exec(CMenuTarget* parent, const std::string &/*actionkey*/
|
||||
i = 0;
|
||||
for (tI = select_transponders.begin(); tI != select_transponders.end(); ++tI)
|
||||
{
|
||||
t_satellite_position satpos = GET_SATELLITEPOSITION_FROM_TRANSPONDER_ID(tI->first) & 0xFFF;
|
||||
if (GET_SATELLITEPOSITION_FROM_TRANSPONDER_ID(tI->first) & 0xF000)
|
||||
satpos = -satpos;
|
||||
if (satpos != position)
|
||||
if (tI->second.satellitePosition != position)
|
||||
continue;
|
||||
|
||||
char buf[128];
|
||||
|
Reference in New Issue
Block a user