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

Origin commit data
------------------
Commit: 5db4b97d9d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-10-26 (Fri, 26 Oct 2012)
This commit is contained in:
[CST] Focus
2012-10-26 18:46:59 +04:00
parent 613c43a0f1
commit d7b86a6957

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();