diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-07-03 18:50:07 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-07-03 18:50:07 +0000 |
commit | 9a471e603ebe77a3aae4692d80ceb32da50c88eb (patch) | |
tree | f0ebfffd2460de1be4255080b361e64bdc901ddb /firmware/target/arm/as3525/sansa-clip/lcd-clip.h | |
parent | 12b89c11e31cab842af081e8fc238e47c2711653 (diff) | |
download | rockbox-9a471e603ebe77a3aae4692d80ceb32da50c88eb.tar.gz rockbox-9a471e603ebe77a3aae4692d80ceb32da50c88eb.zip |
Clip+ LCD: support devices with a different controller
The new controller framebuffer (different from what is in clipv1/clipv2 and some clip+) has 128 columns, the old has 132 columns and is centered on the screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27257 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clip/lcd-clip.h')
-rw-r--r-- | firmware/target/arm/as3525/sansa-clip/lcd-clip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sansa-clip/lcd-clip.h b/firmware/target/arm/as3525/sansa-clip/lcd-clip.h index 7863b853d5..3d4fe60311 100644 --- a/firmware/target/arm/as3525/sansa-clip/lcd-clip.h +++ b/firmware/target/arm/as3525/sansa-clip/lcd-clip.h | |||
@@ -22,7 +22,7 @@ | |||
22 | #include "config.h" | 22 | #include "config.h" |
23 | #include "ascodec.h" | 23 | #include "ascodec.h" |
24 | 24 | ||
25 | void lcd_hw_init(void) INIT_ATTR; | 25 | void lcd_hw_init(int *offset) INIT_ATTR; |
26 | static inline void lcd_enable_power(bool onoff) | 26 | static inline void lcd_enable_power(bool onoff) |
27 | { | 27 | { |
28 | ascodec_write(AS3514_DCDC15, onoff ? 1 : 0); | 28 | ascodec_write(AS3514_DCDC15, onoff ? 1 : 0); |