diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-08-24 09:15:13 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-08-24 09:15:13 +0000 |
commit | ae1241bf94b88c800a27fcc81ef0c1de1ab94057 (patch) | |
tree | a033dc199c6840df48c6c41d2e139848dc3fba16 | |
parent | 4021798aec181d1280b3ac2044df82fb3131d9ce (diff) | |
download | rockbox-ae1241bf94b88c800a27fcc81ef0c1de1ab94057.tar.gz rockbox-ae1241bf94b88c800a27fcc81ef0c1de1ab94057.zip |
Ooops, didn't mean to commit that
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7399 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/tuner_philips.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/tuner_philips.c b/firmware/tuner_philips.c index 59c6d219d8..72dbf9df5b 100644 --- a/firmware/tuner_philips.c +++ b/firmware/tuner_philips.c | |||
@@ -37,7 +37,7 @@ void philips_set(int setting, int value) | |||
37 | /* init values */ | 37 | /* init values */ |
38 | write_bytes[0] = 0x80; /* mute */ | 38 | write_bytes[0] = 0x80; /* mute */ |
39 | write_bytes[1] = 0x00; | 39 | write_bytes[1] = 0x00; |
40 | write_bytes[2] = 0x10; | 40 | write_bytes[2] = 0x00; |
41 | #if CONFIG_TUNER_XTAL == 32768000 | 41 | #if CONFIG_TUNER_XTAL == 32768000 |
42 | write_bytes[3] = 0x1A; /* 32.768MHz, soft mute, | 42 | write_bytes[3] = 0x1A; /* 32.768MHz, soft mute, |
43 | stereo noise cancelling */ | 43 | stereo noise cancelling */ |
@@ -55,9 +55,9 @@ void philips_set(int setting, int value) | |||
55 | { | 55 | { |
56 | int n; | 56 | int n; |
57 | #if CONFIG_TUNER_XTAL == 32768000 | 57 | #if CONFIG_TUNER_XTAL == 32768000 |
58 | n = (4 * (value + 225000)) / 32768; | 58 | n = (4 * (value - 225000)) / 32768; |
59 | #else | 59 | #else |
60 | n = (4 * (value + 225000)) / 50000; | 60 | n = (4 * (value - 225000)) / 50000; |
61 | #endif | 61 | #endif |
62 | write_bytes[0] = (write_bytes[0] & 0xC0) | (n >> 8); | 62 | write_bytes[0] = (write_bytes[0] & 0xC0) | (n >> 8); |
63 | write_bytes[1] = n & 0xFF; | 63 | write_bytes[1] = n & 0xFF; |