summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2007-04-12 07:21:51 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2007-04-12 07:21:51 +0000
commitdcf6bd23f3e40530ecbb9987f758b34bf35c7423 (patch)
tree2a3ce8df592a833fc213abd2b0094b48cf71a0b8 /firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c
parent4bd827b242fcb749792cb3f743adec8a890f4fc4 (diff)
downloadrockbox-dcf6bd23f3e40530ecbb9987f758b34bf35c7423.tar.gz
rockbox-dcf6bd23f3e40530ecbb9987f758b34bf35c7423.zip
Fix the backlight and led bugs from my last commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13119 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c')
-rw-r--r--firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c b/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c
index 3c6374f0cd..bc2b53d776 100644
--- a/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c
+++ b/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c
@@ -53,15 +53,7 @@ void ata_enable(bool on)
USB_ATA_ENABLE;
GPBCON=( GPGCON&~(1<<11) ) | (1<<10); /* Make the pin an output */
- GPBUP|=1<<5; /* Disable pullup in SOC as we are now driving */
-
-/* Code was originally: (Does not seem that GPG12 is connected in the F series)
- if(on)
- GPGDAT &= 1<<12;
- else
- GPGDAT |= 1<<12;
-*/
-
+// GPBUP|=1<<5; /* Disable pullup in SOC as we are now driving */
}
bool ata_is_coldstart(void)