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


Origin commit data
------------------
Branch: ni/coolstream
Commit: df1cb5822c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-02-20 (Sun, 20 Feb 2011)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2011-02-20 16:54:08 +00:00
parent 4b0978e01d
commit dc49137a8f

View File

@@ -45,6 +45,7 @@ extern bool playing;
extern int motorRotationSpeed;
extern CEventServer *eventServer;
extern int zapit_debug;
extern int uni_scr;
extern int uni_qrg;
@@ -261,7 +262,8 @@ fe_code_rate_t CFrontend::getCodeRate(const uint8_t fec_inner, int system)
case f7_8:
return FEC_7_8;
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:
return FEC_AUTO;
}
@@ -286,7 +288,8 @@ fe_code_rate_t CFrontend::getCodeRate(const uint8_t fec_inner, int system)
case f9_10:
return FEC_S2_QPSK_9_10;
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;
}
}