Sansa Fuze : use single press HOME button for exiting battery_bench

If button_get() is used in blocking mode, it will not return BUTTON_REPEAT information

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21198 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2009-06-06 09:08:11 +00:00
parent c76d940c06
commit 112e9ea1ef

View file

@ -107,9 +107,9 @@ PLUGIN_HEADER
#elif (CONFIG_KEYPAD == SANSA_FUZE_PAD)
#define BATTERY_ON BUTTON_SELECT
#define BATTERY_OFF (BUTTON_HOME|BUTTON_REPEAT)
#define BATTERY_OFF BUTTON_HOME
#define BATTERY_ON_TXT "SELECT - start"
#define BATTERY_OFF_TXT "Hold HOME"
#define BATTERY_OFF_TXT "HOME"
#elif CONFIG_KEYPAD == IRIVER_H10_PAD