diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2008-05-03 22:07:31 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2008-05-03 22:07:31 +0000 |
commit | 5fc95a301d41bf29b18bc41c1c9c07684298124a (patch) | |
tree | 1e90206676b0b16a7df4ca354b2e86a13cbe2471 /firmware/target/arm/ipod | |
parent | 19425909c3e19b3733b13fefc2a2aa88fb9f1d61 (diff) | |
download | rockbox-5fc95a301d41bf29b18bc41c1c9c07684298124a.tar.gz rockbox-5fc95a301d41bf29b18bc41c1c9c07684298124a.zip |
Fix tabs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17338 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/ipod')
-rw-r--r-- | firmware/target/arm/ipod/button-1g-3g.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/target/arm/ipod/button-1g-3g.c b/firmware/target/arm/ipod/button-1g-3g.c index 2aa65bb2c0..c91051e78b 100644 --- a/firmware/target/arm/ipod/button-1g-3g.c +++ b/firmware/target/arm/ipod/button-1g-3g.c | |||
@@ -251,15 +251,15 @@ bool button_hold(void) | |||
251 | bool headphones_inserted(void) | 251 | bool headphones_inserted(void) |
252 | { | 252 | { |
253 | #ifdef IPOD_1G2G | 253 | #ifdef IPOD_1G2G |
254 | if ((IPOD_HW_REVISION >> 16) == 2) | 254 | if ((IPOD_HW_REVISION >> 16) == 2) |
255 | { | 255 | { |
256 | /* 2G uses GPIO B bit 0 */ | 256 | /* 2G uses GPIO B bit 0 */ |
257 | return (GPIOB_INPUT_VAL & 0x1)?true:false; | 257 | return (GPIOB_INPUT_VAL & 0x1)?true:false; |
258 | } | 258 | } |
259 | else | 259 | else |
260 | { | 260 | { |
261 | /* 1G has no headphone detection, so fake insertion */ | 261 | /* 1G has no headphone detection, so fake insertion */ |
262 | return (true); | 262 | return (true); |
263 | } | 263 | } |
264 | #else | 264 | #else |
265 | /* 3G uses GPIO C bit 0 */ | 265 | /* 3G uses GPIO C bit 0 */ |