zapit/src/frontend.cpp: no diseqc power-on/reset, if diseqc type is NO_DISEQC

This commit is contained in:
[CST] Focus
2012-10-26 18:46:59 +04:00
parent baf803c0db
commit 5db4b97d9d

View File

@@ -870,7 +870,7 @@ void CFrontend::setDiseqcType(const diseqc_t newDiseqcType, bool force)
return;
}
if (force || ((config.diseqcType <= MINI_DISEQC)
if ((force && (newDiseqcType != NO_DISEQC)) || ((config.diseqcType <= MINI_DISEQC)
&& (newDiseqcType > MINI_DISEQC))) {
secSetTone(SEC_TONE_OFF, 15);
sendDiseqcPowerOn();