summaryrefslogtreecommitdiff
path: root/firmware/target/arm/sandisk/sansa-e200/lcd-target.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-12-15 23:07:11 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-12-15 23:07:11 +0000
commit62facd1ff233a4734e4bc3d616ac22c5c56f926c (patch)
tree95d22b472e7ec548fbb0c239de7bd4e657437b88 /firmware/target/arm/sandisk/sansa-e200/lcd-target.h
parentf53b8ff959ee4443593569440403229108e26b3d (diff)
downloadrockbox-62facd1ff233a4734e4bc3d616ac22c5c56f926c.tar.gz
rockbox-62facd1ff233a4734e4bc3d616ac22c5c56f926c.zip
Collect some of the memory frame LCD C code.
For this commit: Sansa e200v1, Gigabeat F, Gigabeat S and Mini2440 are changed over. Quite a number of other targets probably can be as well. General LCD code is moved out of the target drivers into drivers/lcd-memframe.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31311 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/sandisk/sansa-e200/lcd-target.h')
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/lcd-target.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/lcd-target.h b/firmware/target/arm/sandisk/sansa-e200/lcd-target.h
new file mode 100644
index 0000000000..e589dce78c
--- /dev/null
+++ b/firmware/target/arm/sandisk/sansa-e200/lcd-target.h
@@ -0,0 +1,28 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2011 Michael Sevakis
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#ifndef LCD_TARGET_H
22#define LCD_TARGET_H
23
24extern fb_data lcd_driver_framebuffer[LCD_FBHEIGHT][LCD_FBWIDTH];
25
26#define LCD_FRAMEBUF_ADDR(col, row) (&lcd_driver_framebuffer[row][col])
27
28#endif /* LCD_TARGET_H */