summaryrefslogtreecommitdiffstats
path: root/src/af903x-tuner.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/af903x-tuner.c')
-rw-r--r--src/af903x-tuner.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/af903x-tuner.c b/src/af903x-tuner.c
index 20b3a2a..c45f1ae 100644
--- a/src/af903x-tuner.c
+++ b/src/af903x-tuner.c
@@ -9,6 +9,8 @@
#define IF2 36150 // IF2 frequency = 36.150 MHz
#define FREF 16000 // Quartz oscillator 16 MHz
+
+
static int tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_parameters *params)
{
struct tuner_priv *priv=NULL;
@@ -17,7 +19,7 @@ static int tuner_set_params(struct dvb_frontend *fe, struct dvb_frontend_paramet
priv->bandwidth = (fe->ops.info.type == FE_OFDM) ? params->u.ofdm.bandwidth : 0;
- deb_data("%s - freq : %d , bandwidth : %dn",__FUNCTION__, freq,priv->bandwidth);
+ deb_data("%s - freq : %d , bandwidth : %dn",__FUNCTION__, (int) freq,priv->bandwidth);
dwError =DL_Tuner_SetFreqBw(fe->dvb->num, freq,priv->bandwidth);
if (dwError) deb_data("tuner_set_params Fail !\n");