forked from len0rd/rockbox
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:
parent
c849c397ad
commit
e55edfccc8
1 changed files with 0 additions and 22 deletions
|
@ -270,11 +270,6 @@ void dbg_ports(void)
|
||||||
|
|
||||||
switch(button)
|
switch(button)
|
||||||
{
|
{
|
||||||
case BUTTON_ON:
|
|
||||||
/* Toggle the charger */
|
|
||||||
PBDR ^= 0x20;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case BUTTON_UP:
|
case BUTTON_UP:
|
||||||
/* Toggle the IDE power */
|
/* Toggle the IDE power */
|
||||||
PADR ^= 0x20;
|
PADR ^= 0x20;
|
||||||
|
@ -361,24 +356,7 @@ void dbg_ports(void)
|
||||||
|
|
||||||
switch(button)
|
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:
|
case BUTTON_STOP:
|
||||||
#ifndef ARCHOS_PLAYER_OLD
|
|
||||||
/* Disable the charger */
|
|
||||||
PBDR |= 0x20;
|
|
||||||
/* Enable the IDE power */
|
|
||||||
PADR |= 0x20;
|
|
||||||
#endif
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case BUTTON_LEFT:
|
case BUTTON_LEFT:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue