summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/backlight.c10
-rw-r--r--firmware/target/arm/ipod/1g2g/backlight-target.h26
2 files changed, 29 insertions, 7 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index 2143ece46a..ca8ffd1847 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -623,13 +623,9 @@ void backlight_init(void)
623# endif 623# endif
624 } 624 }
625#endif 625#endif
626 backlight_on(); 626 /* Leave all lights as set by the bootloader here. The settings load will
627#ifdef HAVE_REMOTE_LCD 627 * call the appropriate backlight_set_*() functions, only changing light
628 remote_backlight_on(); 628 * status if necessary. */
629#endif
630#ifdef HAVE_BUTTON_LIGHT
631 button_backlight_on();
632#endif
633 629
634 create_thread(backlight_thread, backlight_stack, 630 create_thread(backlight_thread, backlight_stack,
635 sizeof(backlight_stack), backlight_thread_name 631 sizeof(backlight_stack), backlight_thread_name
diff --git a/firmware/target/arm/ipod/1g2g/backlight-target.h b/firmware/target/arm/ipod/1g2g/backlight-target.h
new file mode 100644
index 0000000000..a1a9785abc
--- /dev/null
+++ b/firmware/target/arm/ipod/1g2g/backlight-target.h
@@ -0,0 +1,26 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2006 by Barry Wardell
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19#ifndef BACKLIGHT_TARGET_H
20#define BACKLIGHT_TARGET_H
21
22#define __backlight_init() false
23void __backlight_on(void);
24void __backlight_off(void);
25
26#endif