diff options
Diffstat (limited to 'firmware/debug.c')
-rw-r--r-- | firmware/debug.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/debug.c b/firmware/debug.c index 76fa67cc7c..c64054b115 100644 --- a/firmware/debug.c +++ b/firmware/debug.c | |||
@@ -277,9 +277,16 @@ void dbg_ports(void) | |||
277 | PBDR ^= 0x20; | 277 | PBDR ^= 0x20; |
278 | break; | 278 | break; |
279 | 279 | ||
280 | case BUTTON_UP: | ||
281 | /* Toggle the IDE power */ | ||
282 | PADR ^= 0x20; | ||
283 | break; | ||
284 | |||
280 | case BUTTON_OFF: | 285 | case BUTTON_OFF: |
281 | /* Disable the charger */ | 286 | /* Disable the charger */ |
282 | PBDR |= 0x20; | 287 | PBDR |= 0x20; |
288 | /* Enable the IDE power */ | ||
289 | PADR |= 0x20; | ||
283 | return; | 290 | return; |
284 | } | 291 | } |
285 | } | 292 | } |