From dcf6bd23f3e40530ecbb9987f758b34bf35c7423 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Thu, 12 Apr 2007 07:21:51 +0000 Subject: 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 --- firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c') 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) -- cgit v1.2.3