forked from len0rd/rockbox
iPod S5L87xx bootloader: Enable LCD sleep/awake test depending on target config, not on model
Change-Id: I7a3d86814e5f5b1c84ef73636f2094514aaf0120
This commit is contained in:
parent
bf286ef373
commit
620a190baf
1 changed files with 3 additions and 3 deletions
|
@ -348,7 +348,7 @@ extern int lcd_type;
|
|||
static uint16_t alive[] = { 500,100,0, 0 };
|
||||
static uint16_t alivelcd[] = { 2000,200,0, 0 };
|
||||
|
||||
#ifndef IPOD_6G
|
||||
#ifdef HAVE_LCD_SLEEP
|
||||
static void sleep_test(void)
|
||||
{
|
||||
int sleep_tmo = 5;
|
||||
|
@ -676,7 +676,7 @@ static void dump_bootflash(void)
|
|||
static void devel_menu(void)
|
||||
{
|
||||
const char *items[] = {
|
||||
#ifndef IPOD_6G
|
||||
#ifdef HAVE_LCD_SLEEP
|
||||
"LCD sleep/awake test",
|
||||
#endif
|
||||
"PMU info",
|
||||
|
@ -694,7 +694,7 @@ static void devel_menu(void)
|
|||
"Power off",
|
||||
};
|
||||
void (*handlers[])(void) = {
|
||||
#ifndef IPOD_6G
|
||||
#ifdef HAVE_LCD_SLEEP
|
||||
sleep_test,
|
||||
#endif
|
||||
pmu_info,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue