Add iPod key binding for the logf viewer

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8494 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2006-01-30 21:12:27 +00:00
parent 733c14d60e
commit 1a4ef4fc0a

View file

@ -30,6 +30,12 @@
#include "menu.h"
#include "logf.h"
#if CONFIG_KEYPAD == IPOD_4G_PAD
#define LOGF_BUTTON_QUIT BUTTON_MENU
#else
#define LOGF_BUTTON_QUIT BUTTON_OFF
#endif
#ifdef HAVE_LCD_BITMAP
bool logfdisplay(void)
@ -83,7 +89,7 @@ bool logfdisplay(void)
}
lcd_update();
button = button_get_w_tmo(HZ/2);
} while(button != BUTTON_OFF);
} while(button != LOGF_BUTTON_QUIT);
return false;
}