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