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) | |
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/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 @@ | |||
30 | 30 | ||
31 | #define EV_EXIT 1337 | 31 | #define EV_EXIT 1337 |
32 | 32 | ||
33 | /* seems to work with 1300, but who knows... */ | 33 | /* seems to work with 1300, but who knows... */ |
34 | #define THREAD_STACK_SIZE DEFAULT_STACK_SIZE + 0x200 | 34 | #define THREAD_STACK_SIZE DEFAULT_STACK_SIZE + 0x200 |
35 | 35 | ||
36 | #if CONFIG_KEYPAD == RECORDER_PAD | 36 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
37 | |||
38 | #define BATTERY_ON BUTTON_PLAY | ||
39 | #define BATTERY_OFF BUTTON_OFF | ||
40 | #define BATTERY_ON_TXT "PLAY - start" | ||
41 | #define BATTERY_OFF_TXT "OFF" | ||
42 | |||
43 | #if BUTTON_REMOTE != 0 | ||
44 | #define BATTERY_RC_ON BUTTON_RC_PLAY | ||
45 | #define BATTERY_RC_OFF BUTTON_RC_STOP | ||
46 | #endif | ||
47 | |||
48 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
49 | |||
50 | #define BATTERY_ON BUTTON_RIGHT | ||
51 | #define BATTERY_OFF BUTTON_OFF | ||
52 | #define BATTERY_ON_TXT "RIGHT - start" | ||
53 | #define BATTERY_OFF_TXT "OFF" | ||
54 | |||
55 | #elif CONFIG_KEYPAD == PLAYER_PAD | ||
56 | |||
57 | #define BATTERY_ON BUTTON_PLAY | ||
58 | #define BATTERY_OFF BUTTON_STOP | ||
59 | #define BATTERY_ON_TXT "PLAY - start" | ||
60 | #define BATTERY_OFF_TXT "STOP" | ||
61 | |||
62 | #define BATTERY_RC_ON BUTTON_RC_PLAY | ||
63 | #define BATTERY_RC_OFF BUTTON_RC_STOP | ||
64 | |||
65 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
66 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | 37 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
67 | 38 | ||
68 | #define BATTERY_ON BUTTON_ON | 39 | #define BATTERY_ON BUTTON_ON |
69 | #define BATTERY_RC_ON BUTTON_RC_ON | 40 | #define BATTERY_RC_ON BUTTON_RC_ON |
70 | 41 | ||