summaryrefslogtreecommitdiff
path: root/firmware/debug.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-07-04 14:01:07 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-07-04 14:01:07 +0000
commite55edfccc830dfdfb1f52d39957c7a24089d84e0 (patch)
tree8234630f8b191ba69b800ea5b223daf1fe13687a /firmware/debug.c
parentc849c397ad4487fe18550ef1bafc49691a4587c6 (diff)
downloadrockbox-e55edfccc830dfdfb1f52d39957c7a24089d84e0.tar.gz
rockbox-e55edfccc830dfdfb1f52d39957c7a24089d84e0.zip
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
Diffstat (limited to 'firmware/debug.c')
-rw-r--r--firmware/debug.c22
1 files changed, 0 insertions, 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)
270 270
271 switch(button) 271 switch(button)
272 { 272 {
273 case BUTTON_ON:
274 /* Toggle the charger */
275 PBDR ^= 0x20;
276 break;
277
278 case BUTTON_UP: 273 case BUTTON_UP:
279 /* Toggle the IDE power */ 274 /* Toggle the IDE power */
280 PADR ^= 0x20; 275 PADR ^= 0x20;
@@ -361,24 +356,7 @@ void dbg_ports(void)
361 356
362 switch(button) 357 switch(button)
363 { 358 {
364#ifndef ARCHOS_PLAYER_OLD
365 case BUTTON_ON:
366 /* Toggle the charger */
367 PBDR ^= 0x20;
368 break;
369
370 case BUTTON_PLAY:
371 /* Toggle the IDE power */
372 PADR ^= 0x20;
373 break;
374#endif
375 case BUTTON_STOP: 359 case BUTTON_STOP:
376#ifndef ARCHOS_PLAYER_OLD
377 /* Disable the charger */
378 PBDR |= 0x20;
379 /* Enable the IDE power */
380 PADR |= 0x20;
381#endif
382 return; 360 return;
383 361
384 case BUTTON_LEFT: 362 case BUTTON_LEFT: