mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
zapit/src/frontend.cpp: no diseqc power-on/reset, if diseqc type is NO_DISEQC
This commit is contained in:
@@ -870,7 +870,7 @@ void CFrontend::setDiseqcType(const diseqc_t newDiseqcType, bool force)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (force || ((config.diseqcType <= MINI_DISEQC)
|
if ((force && (newDiseqcType != NO_DISEQC)) || ((config.diseqcType <= MINI_DISEQC)
|
||||||
&& (newDiseqcType > MINI_DISEQC))) {
|
&& (newDiseqcType > MINI_DISEQC))) {
|
||||||
secSetTone(SEC_TONE_OFF, 15);
|
secSetTone(SEC_TONE_OFF, 15);
|
||||||
sendDiseqcPowerOn();
|
sendDiseqcPowerOn();
|
||||||
|
Reference in New Issue
Block a user