From 75548c8bf314f6ee2e354bf37efb8f33fe28fb3d Mon Sep 17 00:00:00 2001 From: Steve Markgraf Date: Sun, 27 May 2012 15:33:11 +0200 Subject: tuner_fc0013: improve tuning resolution We now use Hz instead of kHz for the internal calculations, and thus improve the tuning resolution to ~50 Hz (tested with DAB). Signed-off-by: Steve Markgraf --- include/tuner_fc0013.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/tuner_fc0013.h b/include/tuner_fc0013.h index e940919..b409fe8 100644 --- a/include/tuner_fc0013.h +++ b/include/tuner_fc0013.h @@ -30,7 +30,7 @@ #define FC0013_CHECK_VAL 0xa3 int fc0013_init(void *dev); -int fc0013_set_params(void *dev, uint32_t frequency, uint32_t bw); +int fc0013_set_params(void *dev, uint32_t freq, uint32_t bandwidth); int fc0013_set_gain(void *dev, int gain); #endif -- cgit v1.3.1