diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-04 14:01:07 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-04 14:01:07 +0000 |
| commit | e55edfccc830dfdfb1f52d39957c7a24089d84e0 (patch) | |
| tree | 8234630f8b191ba69b800ea5b223daf1fe13687a | |
| parent | c849c397ad4487fe18550ef1bafc49691a4587c6 (diff) | |
| download | rockbox-e55edfccc830dfdfb1f52d39957c7a24089d84e0.zip rockbox-e55edfccc830dfdfb1f52d39957c7a24089d84e0.tar.gz rockbox-e55edfccc830dfdfb1f52d39957c7a24089d84e0.tar.bz2 rockbox-e55edfccc830dfdfb1f52d39957c7a24089d84e0.tar.xz | |
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
| -rw-r--r-- | firmware/debug.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/firmware/debug.c b/firmware/debug.c index 36c38e9..e94350a 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: |