From 85212152118ccb63ecc4664083ab37cb1c3d8298 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 11 Apr 2006 08:03:45 +0000 Subject: [PATCH] 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 --- apps/plugins/test_fps.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c index 24dbcf8b2a..e21592cf42 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