summaryrefslogtreecommitdiff
path: root/firmware/drivers/tuner/s1a0903x01.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-10-14 11:12:20 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-10-14 11:12:20 +0000
commit9558c4956d3d603c4d132af88633767810f3ba62 (patch)
treeb0d739f6246a7175de106562a2c755724f977cbe /firmware/drivers/tuner/s1a0903x01.c
parent91b9c6139b3447d7c0f4f2924ef73a9dc323703b (diff)
downloadrockbox-9558c4956d3d603c4d132af88633767810f3ba62.tar.gz
rockbox-9558c4956d3d603c4d132af88633767810f3ba62.zip
Moved pcm_record from firmware to apps. Cleaned up some. Now all code using struct mp3entry is in apps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18807 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/tuner/s1a0903x01.c')
-rw-r--r--firmware/drivers/tuner/s1a0903x01.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/drivers/tuner/s1a0903x01.c b/firmware/drivers/tuner/s1a0903x01.c
index 517d41984d..f6442b269f 100644
--- a/firmware/drivers/tuner/s1a0903x01.c
+++ b/firmware/drivers/tuner/s1a0903x01.c
@@ -26,7 +26,6 @@
26#include "kernel.h" 26#include "kernel.h"
27#include "tuner.h" /* tuner abstraction interface */ 27#include "tuner.h" /* tuner abstraction interface */
28#include "fmradio.h" /* physical interface driver */ 28#include "fmradio.h" /* physical interface driver */
29#include "mpeg.h"
30#include "sound.h" 29#include "sound.h"
31 30
32#define DEFAULT_IN1 0x100003 /* Mute */ 31#define DEFAULT_IN1 0x100003 /* Mute */
@@ -64,7 +63,7 @@ int s1a0903x01_set(int setting, int value)
64 int pitch = 1000; 63 int pitch = 1000;
65 64
66 /* 4th harmonic falls in the FM frequency range */ 65 /* 4th harmonic falls in the FM frequency range */
67 int if_freq = 4 * mpeg_get_mas_pllfreq(); 66 int if_freq = 4 * mas_get_pllfreq();
68 67
69 /* shift the mas harmonic >= 300 kHz away using the direction 68 /* shift the mas harmonic >= 300 kHz away using the direction
70 * which needs less shifting. */ 69 * which needs less shifting. */