summaryrefslogtreecommitdiff
path: root/apps/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 9a9e428268..2e3292dba5 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -436,17 +436,6 @@ bool list_stop_handler(void)
436 } 436 }
437 } 437 }
438#if CONFIG_CHARGING 438#if CONFIG_CHARGING
439#if (CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF)
440 else
441 {
442 if (charger_inserted())
443 charging_splash();
444 else
445 shutdown_screen(); /* won't return if shutdown actually happens */
446
447 ret = true; /* screen is dirty, caller needs to refresh */
448 }
449#endif
450#ifndef HAVE_POWEROFF_WHILE_CHARGING 439#ifndef HAVE_POWEROFF_WHILE_CHARGING
451 { 440 {
452 static long last_off = 0; 441 static long last_off = 0;
@@ -595,10 +584,6 @@ long default_event_handler_ex(long event, void (*callback)(void *), void *parame
595 case SYS_USB_CONNECTED: 584 case SYS_USB_CONNECTED:
596 if (callback != NULL) 585 if (callback != NULL)
597 callback(parameter); 586 callback(parameter);
598#if (CONFIG_STORAGE & STORAGE_MMC) && (defined(ARCHOS_ONDIOSP) || defined(ARCHOS_ONDIOFM))
599 if (!mmc_touched() ||
600 (mmc_remove_request() == SYS_HOTSWAP_EXTRACTED))
601#endif
602 { 587 {
603 system_flush(); 588 system_flush();
604#ifdef BOOTFILE 589#ifdef BOOTFILE