diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-06-20 21:34:27 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-06-20 21:34:27 +0000 |
commit | 4120946f28de1645ead54ede37a534d429e7c8ec (patch) | |
tree | 0b9791bdf7ca54b70a231284a296af7187a34f38 /firmware | |
parent | 13b8e805c3c11d78c5723ee68d50537963d8a325 (diff) | |
download | rockbox-4120946f28de1645ead54ede37a534d429e7c8ec.tar.gz rockbox-4120946f28de1645ead54ede37a534d429e7c8ec.zip |
Fix e200v2 radio problem (missing Si4702 initialisation)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21416 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/tuner/si4700.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/drivers/tuner/si4700.c b/firmware/drivers/tuner/si4700.c index 1e2c1888e0..3917095353 100644 --- a/firmware/drivers/tuner/si4700.c +++ b/firmware/drivers/tuner/si4700.c | |||
@@ -295,8 +295,9 @@ void si4700_init(void) | |||
295 | tuner_present = true; | 295 | tuner_present = true; |
296 | 296 | ||
297 | #ifdef USE_INTERNAL_OSCILLATOR | 297 | #ifdef USE_INTERNAL_OSCILLATOR |
298 | /* enable the internal oscillator */ | 298 | /* Enable the internal oscillator |
299 | si4700_write_set(TEST1, TEST1_XOSCEN); | 299 | (Si4702-16 needs this register to be initialised to 0x100) */ |
300 | si4700_write_set(TEST1, TEST1_XOSCEN | 0x100); | ||
300 | sleep(HZ/2); | 301 | sleep(HZ/2); |
301 | #endif | 302 | #endif |
302 | } | 303 | } |