summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/lcd-clip.h
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-07-22 15:31:24 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-07-22 15:31:24 +0000
commit55a4520f076ffa5190aac1f24f584e759ffc62cf (patch)
treea7a78f2192dfd05082d8909608be6c029e6627a4 /firmware/target/arm/as3525/lcd-clip.h
parent10e79de27c6c71360bfe4e740098cb7e6ff64c2a (diff)
downloadrockbox-55a4520f076ffa5190aac1f24f584e759ffc62cf.tar.gz
rockbox-55a4520f076ffa5190aac1f24f584e759ffc62cf.zip
Sansa clip+: fix display brightness for players with newer OLED controller type (and reorganise the variant detection a bit in the process)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27522 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/lcd-clip.h')
-rw-r--r--firmware/target/arm/as3525/lcd-clip.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/lcd-clip.h b/firmware/target/arm/as3525/lcd-clip.h
new file mode 100644
index 0000000000..ab31f688db
--- /dev/null
+++ b/firmware/target/arm/as3525/lcd-clip.h
@@ -0,0 +1,29 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2008-2009 Rafaël Carré
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22#include "config.h"
23
24/* return variant number: 0 = clipv1, old clip+, 1 = newer clip+ */
25int lcd_hw_init(void) INIT_ATTR;
26
27/* target-specific power enable */
28void lcd_enable_power(bool onoff);
29