diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2007-09-12 22:24:58 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2007-09-12 22:24:58 +0000 |
| commit | f265ee9cd5e4f4798fcff4e07c7e8efaff308eb0 (patch) | |
| tree | 4feb621961207358767b645dff8b3ffce01ddf46 /firmware/target/arm/ipod/1g2g | |
| parent | c41470d33d5d198ce02826aab1c06335a2156533 (diff) | |
| download | rockbox-f265ee9cd5e4f4798fcff4e07c7e8efaff308eb0.zip rockbox-f265ee9cd5e4f4798fcff4e07c7e8efaff308eb0.tar.gz rockbox-f265ee9cd5e4f4798fcff4e07c7e8efaff308eb0.tar.bz2 rockbox-f265ee9cd5e4f4798fcff4e07c7e8efaff308eb0.tar.xz | |
* Don't touch the backlight(s) (and buttonlight) at backlight init in order to avoid a short flash when the lights are both disabled in the bootloader and in rockbox settings. * Properly reflect the backlight state set by the 1st/2nd gen bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14679 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/ipod/1g2g')
| -rw-r--r-- | firmware/target/arm/ipod/1g2g/backlight-target.h | 26 |
1 files changed, 26 insertions, 0 deletions
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 0000000..a1a9785 --- /dev/null +++ b/firmware/target/arm/ipod/1g2g/backlight-target.h @@ -0,0 +1,26 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2006 by Barry Wardell + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ +#ifndef BACKLIGHT_TARGET_H +#define BACKLIGHT_TARGET_H + +#define __backlight_init() false +void __backlight_on(void); +void __backlight_off(void); + +#endif |