From 092c340a2062fa98b7387fc5fd63578ddae7d0b6 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 15 Jul 2020 19:40:55 -0400 Subject: [1/4] Remove SH support and all archos targets This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061 --- apps/plugins/battery_bench.c | 35 +++-------------------------------- 1 file changed, 3 insertions(+), 32 deletions(-) (limited to 'apps/plugins/battery_bench.c') diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c index f24ad579e8..37046af05b 100644 --- a/apps/plugins/battery_bench.c +++ b/apps/plugins/battery_bench.c @@ -30,41 +30,12 @@ #define EV_EXIT 1337 -/* seems to work with 1300, but who knows... */ +/* seems to work with 1300, but who knows... */ #define THREAD_STACK_SIZE DEFAULT_STACK_SIZE + 0x200 -#if CONFIG_KEYPAD == RECORDER_PAD - -#define BATTERY_ON BUTTON_PLAY -#define BATTERY_OFF BUTTON_OFF -#define BATTERY_ON_TXT "PLAY - start" -#define BATTERY_OFF_TXT "OFF" - -#if BUTTON_REMOTE != 0 -#define BATTERY_RC_ON BUTTON_RC_PLAY -#define BATTERY_RC_OFF BUTTON_RC_STOP -#endif - -#elif CONFIG_KEYPAD == ONDIO_PAD - -#define BATTERY_ON BUTTON_RIGHT -#define BATTERY_OFF BUTTON_OFF -#define BATTERY_ON_TXT "RIGHT - start" -#define BATTERY_OFF_TXT "OFF" - -#elif CONFIG_KEYPAD == PLAYER_PAD - -#define BATTERY_ON BUTTON_PLAY -#define BATTERY_OFF BUTTON_STOP -#define BATTERY_ON_TXT "PLAY - start" -#define BATTERY_OFF_TXT "STOP" - -#define BATTERY_RC_ON BUTTON_RC_PLAY -#define BATTERY_RC_OFF BUTTON_RC_STOP - -#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ +#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ (CONFIG_KEYPAD == IRIVER_H300_PAD) - + #define BATTERY_ON BUTTON_ON #define BATTERY_RC_ON BUTTON_RC_ON -- cgit v1.2.3