forked from len0rd/rockbox
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:
parent
393f427a11
commit
02c79d37a3
1 changed files with 1 additions and 1 deletions
|
@ -785,7 +785,7 @@ static bool dbg_pcf(void)
|
||||||
lcd_putsf(0, line++, "D3REGC: %02x", pcf50605_read(0x26));
|
lcd_putsf(0, line++, "D3REGC: %02x", pcf50605_read(0x26));
|
||||||
lcd_putsf(0, line++, "LPREG1: %02x", pcf50605_read(0x27));
|
lcd_putsf(0, line++, "LPREG1: %02x", pcf50605_read(0x27));
|
||||||
lcd_update();
|
lcd_update();
|
||||||
if (button_get_w_tmo(HZ/10) == (DEBUG_CANCEL|BUTTON_REL))
|
if (action_userabort(HZ/10))
|
||||||
{
|
{
|
||||||
lcd_setfont(FONT_UI);
|
lcd_setfont(FONT_UI);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue