diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-06-25 11:15:33 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-06-25 11:15:33 +0000 |
| commit | 6139982672171e8733bccdedca3f0d82ab958b38 (patch) | |
| tree | 56a9c80edb6b957a420bdbb3db675d22989781e2 | |
| parent | c00557a2b95f4ff6f29e44f37550386722a59c67 (diff) | |
| download | rockbox-6139982672171e8733bccdedca3f0d82ab958b38.zip rockbox-6139982672171e8733bccdedca3f0d82ab958b38.tar.gz rockbox-6139982672171e8733bccdedca3f0d82ab958b38.tar.bz2 rockbox-6139982672171e8733bccdedca3f0d82ab958b38.tar.xz | |
non-RTC code wrote to PAIOR instead of PADR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1179 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 c597b23..729b22b 100644 --- a/firmware/backlight.c +++ b/firmware/backlight.c @@ -51,7 +51,7 @@ void backlight_thread(void) #ifdef HAVE_RTC rtc_write(0x13, 0x10); #else - PAIOR |= 0x40; + PADR |= 0x40; #endif } break; @@ -59,7 +59,7 @@ void backlight_thread(void) #ifdef HAVE_RTC rtc_write(0x13, 0x00); #else - PAIOR &= 0xbf; + PADR &= ~0x40; #endif break; } |