summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2012-01-04 06:21:16 +0000
committerRafaël Carré <rafael.carre@gmail.com>2012-01-04 06:21:16 +0000
commit02c79d37a3c71ced952a855ac3262cf253db8a94 (patch)
treeb72f147c6e7a1b4b4ac909d28eb1a0dfcfb5c90a /apps
parent393f427a112687aa3d17b4fd33dfe402ef11f3c5 (diff)
dbg_pcf(): use action_userabort
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31561 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 48664a1762..cc76d24d18 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -785,7 +785,7 @@ static bool dbg_pcf(void)
lcd_putsf(0, line++, "D3REGC: %02x", pcf50605_read(0x26));
lcd_putsf(0, line++, "LPREG1: %02x", pcf50605_read(0x27));
lcd_update();
- if (button_get_w_tmo(HZ/10) == (DEBUG_CANCEL|BUTTON_REL))
+ if (action_userabort(HZ/10))
{
lcd_setfont(FONT_UI);
return false;