diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-15 19:40:55 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch) | |
tree | 98ec96946eeb2ae709cb0528cc6998e21bb9b290 /apps/misc.c | |
parent | 17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff) | |
download | rockbox-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.c | 15 |
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) } } #if CONFIG_CHARGING -#if (CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF) - else - { - if (charger_inserted()) - charging_splash(); - else - shutdown_screen(); /* won't return if shutdown actually happens */ - - ret = true; /* screen is dirty, caller needs to refresh */ - } -#endif #ifndef HAVE_POWEROFF_WHILE_CHARGING { static long last_off = 0; @@ -595,10 +584,6 @@ long default_event_handler_ex(long event, void (*callback)(void *), void *parame case SYS_USB_CONNECTED: if (callback != NULL) callback(parameter); -#if (CONFIG_STORAGE & STORAGE_MMC) && (defined(ARCHOS_ONDIOSP) || defined(ARCHOS_ONDIOFM)) - if (!mmc_touched() || - (mmc_remove_request() == SYS_HOTSWAP_EXTRACTED)) -#endif { system_flush(); #ifdef BOOTFILE |