summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-09-06 14:52:38 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-09-06 14:52:38 +0000
commit66499ecad05866e709e3b48131801356cdf888c1 (patch)
tree229e734c3d82ed9d83e27f5dee25f02b07919053 /firmware
parentfc79569c3336150ce5cfd021e1db12e45a9d638b (diff)
downloadrockbox-66499ecad05866e709e3b48131801356cdf888c1.tar.gz
rockbox-66499ecad05866e709e3b48131801356cdf888c1.tar.bz2
rockbox-66499ecad05866e709e3b48131801356cdf888c1.zip
Sansa c200v2: fix si4700 tuner initialisation to make it work for the c200v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22641 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/tuner/si4700.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/tuner/si4700.c b/firmware/drivers/tuner/si4700.c
index be9b6a4068..c19df6a7bb 100644
--- a/firmware/drivers/tuner/si4700.c
+++ b/firmware/drivers/tuner/si4700.c
@@ -297,7 +297,7 @@ void si4700_init(void)
#ifdef USE_INTERNAL_OSCILLATOR
/* Enable the internal oscillator
(Si4702-16 needs this register to be initialised to 0x100) */
- si4700_write_set(TEST1, TEST1_XOSCEN | 0x100);
+ si4700_write_reg(TEST1, TEST1_XOSCEN | 0x100);
sleep(HZ/2);
#endif
}