mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +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))
|
||||
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