diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2018-03-02 21:53:55 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2018-06-12 10:31:15 +0200 |
commit | fbb6a2ff6d751adaaef73a86a98700f91571d0a1 (patch) | |
tree | e4bf533e945a03887620361ad110b3612321d67d /apps/plugins/battery_bench.c | |
parent | 0538ba3d59a1a29adcee0b4656b204fda102ad89 (diff) | |
download | rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.tar.gz rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.zip |
Agptek Rocker: Build plugins
Patch provided by Aapo Tahkola.
Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
Diffstat (limited to 'apps/plugins/battery_bench.c')
-rw-r--r-- | apps/plugins/battery_bench.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c index 2cdf510b3a..bb9c3b0e6f 100644 --- a/apps/plugins/battery_bench.c +++ b/apps/plugins/battery_bench.c | |||
@@ -273,6 +273,12 @@ | |||
273 | #define BATTERY_OFF_TXT "Power" | 273 | #define BATTERY_OFF_TXT "Power" |
274 | #define BATTERY_ON_TXT "Menu - start" | 274 | #define BATTERY_ON_TXT "Menu - start" |
275 | 275 | ||
276 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
277 | #define BATTERY_ON BUTTON_LEFT | ||
278 | #define BATTERY_OFF BUTTON_RIGHT | ||
279 | #define BATTERY_OFF_TXT "Right" | ||
280 | #define BATTERY_ON_TXT "Left - start" | ||
281 | |||
276 | #else | 282 | #else |
277 | #error No keymap defined! | 283 | #error No keymap defined! |
278 | #endif | 284 | #endif |