diff --git a/src/zapit/src/femanager.cpp b/src/zapit/src/femanager.cpp index 919f842b4..5c1930470 100644 --- a/src/zapit/src/femanager.cpp +++ b/src/zapit/src/femanager.cpp @@ -317,9 +317,9 @@ bool CFEManager::loadSettings() /* defaults, to replace CServiceManager::InitSatPosition/LoadMotorPositions * in the future */ satconfig.position = position; - satconfig.diseqc = 0; - satconfig.commited = 0; - satconfig.uncommited = 0; + satconfig.diseqc = -1; + satconfig.commited = -1; + satconfig.uncommited = -1; satconfig.motor_position = 0; satconfig.diseqc_order = 0; satconfig.lnbOffsetLow = 9750; diff --git a/src/zapit/src/frontend.cpp b/src/zapit/src/frontend.cpp index fdcc5cec8..34a4c668e 100644 --- a/src/zapit/src/frontend.cpp +++ b/src/zapit/src/frontend.cpp @@ -252,7 +252,7 @@ CFrontend::CFrontend(int Number, int Adapter) config.uni_scr = 0; /* the unicable SCR address 0-7 */ config.uni_freq = 0; /* the unicable frequency in MHz */ config.uni_lnb = 0; /* for two-position switches */ - config.uni_pin = 0; /* for MDU setups */ + config.uni_pin = -1; /* for MDU setups */ config.highVoltage = false; config.motorRotationSpeed = 0; //in 0.1 degrees per second diff --git a/src/zapit/src/getservices.cpp b/src/zapit/src/getservices.cpp index 4ff8a7366..4706eb058 100644 --- a/src/zapit/src/getservices.cpp +++ b/src/zapit/src/getservices.cpp @@ -810,9 +810,9 @@ bool CServiceManager::InitSatPosition(t_satellite_position position, const char { if(force || (satellitePositions.find(position) == satellitePositions.end())) { satellitePositions[position].position = position; - satellitePositions[position].diseqc = 0; - satellitePositions[position].commited = 0; - satellitePositions[position].uncommited = 0; + satellitePositions[position].diseqc = -1; + satellitePositions[position].commited = -1; + satellitePositions[position].uncommited = -1; satellitePositions[position].motor_position = 0; satellitePositions[position].diseqc_order = 0; satellitePositions[position].lnbOffsetLow = 9750;