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 <steve@steve-m.de>
This commit is contained in:
Steve Markgraf
2012-05-27 15:33:11 +02:00
parent bcb8f2b28a
commit 75548c8bf3
2 changed files with 32 additions and 32 deletions

View File

@ -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