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
This commit is contained in:
Linus Nielsen Feltzing 2002-07-04 14:01:07 +00:00
parent c849c397ad
commit e55edfccc8

View file

@ -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: