mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
comment not needed SaveMotorPositions code and calls
Origin commit data
------------------
Commit: c0e03b1d53
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-06-13 (Wed, 13 Jun 2012)
This commit is contained in:
@@ -910,7 +910,7 @@ void CScanSetup::saveScanSetup()
|
|||||||
if(!scansettings.saveSettings(NEUTRINO_SCAN_SETTINGS_FILE))
|
if(!scansettings.saveSettings(NEUTRINO_SCAN_SETTINGS_FILE))
|
||||||
dprintf(DEBUG_NORMAL, "error while saving scan-settings!\n");
|
dprintf(DEBUG_NORMAL, "error while saving scan-settings!\n");
|
||||||
|
|
||||||
CServiceManager::getInstance()->SaveMotorPositions();
|
//CServiceManager::getInstance()->SaveMotorPositions();
|
||||||
zapitCfg.gotoXXLatitude = strtod(zapit_lat, NULL);
|
zapitCfg.gotoXXLatitude = strtod(zapit_lat, NULL);
|
||||||
zapitCfg.gotoXXLongitude = strtod(zapit_long, NULL);
|
zapitCfg.gotoXXLongitude = strtod(zapit_long, NULL);
|
||||||
|
|
||||||
|
@@ -542,6 +542,7 @@ int CServiceManager::LoadMotorPositions(void)
|
|||||||
|
|
||||||
void CServiceManager::SaveMotorPositions()
|
void CServiceManager::SaveMotorPositions()
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
FILE * fd;
|
FILE * fd;
|
||||||
sat_iterator_t sit;
|
sat_iterator_t sit;
|
||||||
printf("[getservices] saving motor positions...\n");
|
printf("[getservices] saving motor positions...\n");
|
||||||
@@ -559,6 +560,7 @@ void CServiceManager::SaveMotorPositions()
|
|||||||
}
|
}
|
||||||
fdatasync(fileno(fd));
|
fdatasync(fileno(fd));
|
||||||
fclose(fd);
|
fclose(fd);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CServiceManager::InitSatPosition(t_satellite_position position, char * name, bool force)
|
bool CServiceManager::InitSatPosition(t_satellite_position position, char * name, bool force)
|
||||||
|
@@ -2134,7 +2134,7 @@ void CZapit::run()
|
|||||||
StopPlayBack(true);
|
StopPlayBack(true);
|
||||||
CFEManager::getInstance()->saveSettings(true);
|
CFEManager::getInstance()->saveSettings(true);
|
||||||
|
|
||||||
CServiceManager::getInstance()->SaveMotorPositions();
|
//CServiceManager::getInstance()->SaveMotorPositions();
|
||||||
|
|
||||||
SdtMonitor.Stop();
|
SdtMonitor.Stop();
|
||||||
INFO("shutdown started");
|
INFO("shutdown started");
|
||||||
|
Reference in New Issue
Block a user