diff options
-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 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: |