Comment debug, fix position init

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1668 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2011-09-06 11:53:51 +00:00
parent 8210f6f445
commit 65aa929ce7

View File

@@ -157,17 +157,17 @@ CZapitChannel * CServiceManager::FindChannel(const t_channel_id channel_id, bool
if(current_is_nvod)
*current_is_nvod = false;
channel_map_iterator_t cit = nvodchannels.find(channel_id);
if (cit == nvodchannels.end()) {
cit = allchans.find(channel_id);
if (cit == allchans.end()) {
printf("%s: channel %llx not found\n", __FUNCTION__, channel_id);
return NULL;
}
} else if(current_is_nvod)
*current_is_nvod = true;
channel_map_iterator_t cit = nvodchannels.find(channel_id);
if (cit == nvodchannels.end()) {
cit = allchans.find(channel_id);
if (cit == allchans.end()) {
//printf("%s: channel %llx not found\n", __FUNCTION__, channel_id);
return NULL;
}
} else if(current_is_nvod)
*current_is_nvod = true;
return &cit->second;
return &cit->second;
}
CZapitChannel * CServiceManager::FindChannelByName(std::string name)
@@ -541,7 +541,7 @@ void CServiceManager::SaveMotorPositions()
void CServiceManager::InitSatPosition(t_satellite_position position)
{
satellitePositions[position].position = 0;
satellitePositions[position].position = position;
satellitePositions[position].diseqc = -1;
satellitePositions[position].commited = -1;
satellitePositions[position].uncommited = -1;