projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
C++ fixes.
[bertos.git]
/
drv
/
lcd_gfx_qt.cpp
diff --git
a/drv/lcd_gfx_qt.cpp
b/drv/lcd_gfx_qt.cpp
index e4582a358a158106df610f52a53aab9a620b77e9..b8e91cfa59a64bb700cf84974dd95d29346430e4 100755
(executable)
--- a/
drv/lcd_gfx_qt.cpp
+++ b/
drv/lcd_gfx_qt.cpp
@@
-14,6
+14,9
@@
/*#*
*#* $Log$
/*#*
*#* $Log$
+ *#* Revision 1.3 2006/01/23 23:11:07 bernie
+ *#* Use RASTER_SIZE() to compute... err... the raster size.
+ *#*
*#* Revision 1.2 2006/01/17 02:30:43 bernie
*#* Fix QImage format.
*#*
*#* Revision 1.2 2006/01/17 02:30:43 bernie
*#* Fix QImage format.
*#*
@@
-99,7
+102,7
@@
void EmulLCD::writeRaster(uint8_t *new_raster)
* as required by the LCD driver.
*/
DECLARE_WALL(wall_before_raster, WALL_SIZE)
* as required by the LCD driver.
*/
DECLARE_WALL(wall_before_raster, WALL_SIZE)
-static uint8_t lcd_raster[
(EmulLCD::WIDTH + 7 / 8) * EmulLCD::HEIGHT
];
+static uint8_t lcd_raster[
RASTER_SIZE(EmulLCD::WIDTH, EmulLCD::HEIGHT)
];
DECLARE_WALL(wall_after_raster, WALL_SIZE)
/*! Default LCD bitmap */
DECLARE_WALL(wall_after_raster, WALL_SIZE)
/*! Default LCD bitmap */