summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-11-18 23:24:32 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-11-18 23:24:32 +0000
commit3ad0879f19dc6086b90f23b5479e281953cb8417 (patch)
tree2009699f153e7b573ad48a9b3043b356f80ce926 /firmware
parent003247e066f667bd829739eed138940c45a0569f (diff)
downloadrockbox-3ad0879f19dc6086b90f23b5479e281953cb8417.tar.gz
rockbox-3ad0879f19dc6086b90f23b5479e281953cb8417.tar.bz2
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
Diffstat (limited to 'firmware')
-rw-r--r--firmware/backlight.c4
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;
static void __backlight_off(void)
{
#ifdef IRIVER_H100
- GPIO1_OUT &= ~0x00020000;
+ GPIO1_OUT |= 0x00020000;
#else
#ifdef HAVE_RTC
/* Disable square wave */
@@ -66,7 +66,7 @@ static void __backlight_off(void)
static void __backlight_on(void)
{
#ifdef IRIVER_H100
- GPIO1_OUT |= 0x00020000;
+ GPIO1_OUT &= ~0x00020000;
#else
#ifdef HAVE_RTC
/* Enable square wave */