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/plugins/battery_bench.c | |
parent | 17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff) |
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets
Change-Id: I7980523785d2596e65c06430f4638eec74a06061
Diffstat (limited to 'apps/plugins/battery_bench.c')
-rw-r--r-- | apps/plugins/battery_bench.c | 35 |
1 files changed, 3 insertions, 32 deletions
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 |