dbg_pcf(): use action_userabort

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31561 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2012-01-04 06:21:16 +00:00
parent 393f427a11
commit 02c79d37a3

View file

@ -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;