mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
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 alive[] = { 500,100,0, 0 };
|
||||||
static uint16_t alivelcd[] = { 2000,200,0, 0 };
|
static uint16_t alivelcd[] = { 2000,200,0, 0 };
|
||||||
|
|
||||||
#ifndef IPOD_6G
|
#ifdef HAVE_LCD_SLEEP
|
||||||
static void sleep_test(void)
|
static void sleep_test(void)
|
||||||
{
|
{
|
||||||
int sleep_tmo = 5;
|
int sleep_tmo = 5;
|
||||||
|
@ -676,7 +676,7 @@ static void dump_bootflash(void)
|
||||||
static void devel_menu(void)
|
static void devel_menu(void)
|
||||||
{
|
{
|
||||||
const char *items[] = {
|
const char *items[] = {
|
||||||
#ifndef IPOD_6G
|
#ifdef HAVE_LCD_SLEEP
|
||||||
"LCD sleep/awake test",
|
"LCD sleep/awake test",
|
||||||
#endif
|
#endif
|
||||||
"PMU info",
|
"PMU info",
|
||||||
|
@ -694,7 +694,7 @@ static void devel_menu(void)
|
||||||
"Power off",
|
"Power off",
|
||||||
};
|
};
|
||||||
void (*handlers[])(void) = {
|
void (*handlers[])(void) = {
|
||||||
#ifndef IPOD_6G
|
#ifdef HAVE_LCD_SLEEP
|
||||||
sleep_test,
|
sleep_test,
|
||||||
#endif
|
#endif
|
||||||
pmu_info,
|
pmu_info,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue