mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 19:01:13 +02:00
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:
@@ -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