summaryrefslogtreecommitdiff
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.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;
52static void __backlight_off(void) 52static 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)
66static void __backlight_on(void) 66static 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 */