mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
zapit: tone down the 'no valid fec set' messages to debug level
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1174 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -45,6 +45,7 @@ extern bool playing;
|
|||||||
extern int motorRotationSpeed;
|
extern int motorRotationSpeed;
|
||||||
extern CEventServer *eventServer;
|
extern CEventServer *eventServer;
|
||||||
|
|
||||||
|
extern int zapit_debug;
|
||||||
extern int uni_scr;
|
extern int uni_scr;
|
||||||
extern int uni_qrg;
|
extern int uni_qrg;
|
||||||
|
|
||||||
@@ -261,7 +262,8 @@ fe_code_rate_t CFrontend::getCodeRate(const uint8_t fec_inner, int system)
|
|||||||
case f7_8:
|
case f7_8:
|
||||||
return FEC_7_8;
|
return FEC_7_8;
|
||||||
default:
|
default:
|
||||||
printf("no valid fec for DVB-S set.. assume auto\n");
|
if (zapit_debug)
|
||||||
|
printf("no valid fec for DVB-S set.. assume auto\n");
|
||||||
case fAuto:
|
case fAuto:
|
||||||
return FEC_AUTO;
|
return FEC_AUTO;
|
||||||
}
|
}
|
||||||
@@ -286,7 +288,8 @@ fe_code_rate_t CFrontend::getCodeRate(const uint8_t fec_inner, int system)
|
|||||||
case f9_10:
|
case f9_10:
|
||||||
return FEC_S2_QPSK_9_10;
|
return FEC_S2_QPSK_9_10;
|
||||||
default:
|
default:
|
||||||
printf("no valid fec for DVB-S2 set.. !!\n");
|
if (zapit_debug)
|
||||||
|
printf("no valid fec for DVB-S2 set.. !!\n");
|
||||||
return FEC_AUTO;
|
return FEC_AUTO;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user