diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-11-18 23:24:32 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-11-18 23:24:32 +0000 |
commit | 3ad0879f19dc6086b90f23b5479e281953cb8417 (patch) | |
tree | 2009699f153e7b573ad48a9b3043b356f80ce926 | |
parent | 003247e066f667bd829739eed138940c45a0569f (diff) | |
download | rockbox-3ad0879f19dc6086b90f23b5479e281953cb8417.tar.gz rockbox-3ad0879f19dc6086b90f23b5479e281953cb8417.zip |
Correct polarity for the iRiver backlight pin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5432 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/backlight.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c index 9767bbab3b..2b0c061786 100644 --- a/firmware/backlight.c +++ b/firmware/backlight.c | |||
@@ -52,7 +52,7 @@ static unsigned int backlight_timeout = 5; | |||
52 | static void __backlight_off(void) | 52 | static void __backlight_off(void) |
53 | { | 53 | { |
54 | #ifdef IRIVER_H100 | 54 | #ifdef IRIVER_H100 |
55 | GPIO1_OUT &= ~0x00020000; | 55 | GPIO1_OUT |= 0x00020000; |
56 | #else | 56 | #else |
57 | #ifdef HAVE_RTC | 57 | #ifdef HAVE_RTC |
58 | /* Disable square wave */ | 58 | /* Disable square wave */ |
@@ -66,7 +66,7 @@ static void __backlight_off(void) | |||
66 | static void __backlight_on(void) | 66 | static void __backlight_on(void) |
67 | { | 67 | { |
68 | #ifdef IRIVER_H100 | 68 | #ifdef IRIVER_H100 |
69 | GPIO1_OUT |= 0x00020000; | 69 | GPIO1_OUT &= ~0x00020000; |
70 | #else | 70 | #else |
71 | #ifdef HAVE_RTC | 71 | #ifdef HAVE_RTC |
72 | /* Enable square wave */ | 72 | /* Enable square wave */ |