From 02c79d37a3c71ced952a855ac3262cf253db8a94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Wed, 4 Jan 2012 06:21:16 +0000 Subject: dbg_pcf(): use action_userabort git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31561 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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; -- cgit v1.2.3