summaryrefslogtreecommitdiff
path: root/apps/plugins/battery_bench.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-08-20 23:05:47 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-08-20 23:05:47 +0000
commit18cfe431d7556f8cd7047018febe191073c26a1f (patch)
tree90b208d90f3a75cbfd226837e1a3efd46a728e69 /apps/plugins/battery_bench.c
parent2a8dfd65b98e6dfe946b6d12b9660c739d29e31b (diff)
Fix errors when building H10 Normal build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10668 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/battery_bench.c')
-rw-r--r--apps/plugins/battery_bench.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c
index 210ecbd9dd..9400bd2018 100644
--- a/apps/plugins/battery_bench.c
+++ b/apps/plugins/battery_bench.c
@@ -77,6 +77,11 @@ PLUGIN_HEADER
#define BATTERY_ON BUTTON_SELECT
#define BATTERY_OFF BUTTON_PLAY
+#elif CONFIG_KEYPAD == IRIVER_H10_PAD
+
+#define BATTERY_ON BUTTON_PLAY
+#define BATTERY_OFF BUTTON_POWER
+
#endif