summaryrefslogtreecommitdiff
path: root/apps/misc.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-15 19:40:55 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch)
tree98ec96946eeb2ae709cb0528cc6998e21bb9b290 /apps/misc.c
parent17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff)
downloadrockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.tar.gz
rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.zip
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061
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