summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-04-11 08:03:45 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-04-11 08:03:45 +0000
commit85212152118ccb63ecc4664083ab37cb1c3d8298 (patch)
tree13055b15215e73af93fd2a32abe9ce94f59bf1b5 /apps/plugins
parenta0a01b38e264cda33374ffda9f64556b11a00b71 (diff)
downloadrockbox-85212152118ccb63ecc4664083ab37cb1c3d8298.zip
rockbox-85212152118ccb63ecc4664083ab37cb1c3d8298.tar.gz
rockbox-85212152118ccb63ecc4664083ab37cb1c3d8298.tar.bz2
rockbox-85212152118ccb63ecc4664083ab37cb1c3d8298.tar.xz
use the power switch on units without off button (like the X5)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9603 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rwxr-xr-xapps/plugins/test_fps.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c
index 24dbcf8..e21592c 100755
--- a/apps/plugins/test_fps.c
+++ b/apps/plugins/test_fps.c
@@ -23,7 +23,11 @@
#if (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD)
#define FPS_QUIT BUTTON_MENU
#else
+#ifdef BUTTON_OFF
#define FPS_QUIT BUTTON_OFF
+#else
+#define FPS_QUIT BUTTON_POWER
+#endif
#endif
PLUGIN_HEADER