summaryrefslogtreecommitdiffstats
path: root/firmware/tuner.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-12-27 19:18:50 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-12-27 19:18:50 +0000
commit1fea6f6b22af74e904d918fff4cebec345529f4b (patch)
tree1cdddb0ab125099b7439fd80984517d4a1880341 /firmware/tuner.c
parentd6bae6c858413544ff0671910654f709d195e427 (diff)
downloadrockbox-1fea6f6b22af74e904d918fff4cebec345529f4b.tar.gz
rockbox-1fea6f6b22af74e904d918fff4cebec345529f4b.tar.bz2
rockbox-1fea6f6b22af74e904d918fff4cebec345529f4b.zip
Make si4700 tuner driver more sane with bit and field defines and entirely hide strange i2c interface from code with write/set/clear/masked functionality. On Gigabeat S use by-the-book busmode selection and GPIO lines. Implement some primitive station detection, debug registers in screen, and misc. changes to tie things together.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19600 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/tuner.c')
-rw-r--r--firmware/tuner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/tuner.c b/firmware/tuner.c
index c694031c45..c5da27079c 100644
--- a/firmware/tuner.c
+++ b/firmware/tuner.c
@@ -64,7 +64,7 @@ const struct si4700_region_data si4700_region_data[TUNER_NUM_REGIONS] =
{
[REGION_EUROPE] = { 1, 0, 2 }, /* 50uS, US/Europe band, 50kHz spacing */
[REGION_US_CANADA] = { 0, 0, 0 }, /* 75uS, US/Europe band, 200kHz spacing */
- [REGION_JAPAN] = { 1, 1, 1 }, /* 50uS, Japanese band, 100kHz spacing */
+ [REGION_JAPAN] = { 1, 2, 1 }, /* 50uS, Japanese band, 100kHz spacing */
[REGION_KOREA] = { 1, 0, 1 }, /* 50uS, US/Europe band, 100kHz spacing */
};
#endif /* (CONFIG_TUNER & SI4700) */