From e55edfccc830dfdfb1f52d39957c7a24089d84e0 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 4 Jul 2002 14:01:07 +0000 Subject: Removed charger and IDE control from the player debug menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1331 a1c6a512-1295-4272-9138-f99709370657 --- firmware/debug.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/firmware/debug.c b/firmware/debug.c index 36c38e9ff0..e94350aee3 100644 --- a/firmware/debug.c +++ b/firmware/debug.c @@ -270,11 +270,6 @@ void dbg_ports(void) switch(button) { - case BUTTON_ON: - /* Toggle the charger */ - PBDR ^= 0x20; - break; - case BUTTON_UP: /* Toggle the IDE power */ PADR ^= 0x20; @@ -361,24 +356,7 @@ void dbg_ports(void) switch(button) { -#ifndef ARCHOS_PLAYER_OLD - case BUTTON_ON: - /* Toggle the charger */ - PBDR ^= 0x20; - break; - - case BUTTON_PLAY: - /* Toggle the IDE power */ - PADR ^= 0x20; - break; -#endif case BUTTON_STOP: -#ifndef ARCHOS_PLAYER_OLD - /* Disable the charger */ - PBDR |= 0x20; - /* Enable the IDE power */ - PADR |= 0x20; -#endif return; case BUTTON_LEFT: -- cgit v1.2.3