X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Flcd_gfx_qt.cpp;h=b8e91cfa59a64bb700cf84974dd95d29346430e4;hb=99e01af883f1ef23dbff6432d45430a59cf2535e;hp=e4582a358a158106df610f52a53aab9a620b77e9;hpb=7fce34e18d9cf800aa5756408c8f9deffccc74bc;p=bertos.git diff --git a/drv/lcd_gfx_qt.cpp b/drv/lcd_gfx_qt.cpp index e4582a35..b8e91cfa 100755 --- a/drv/lcd_gfx_qt.cpp +++ b/drv/lcd_gfx_qt.cpp @@ -14,6 +14,9 @@ /*#* *#* $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. *#* @@ -99,7 +102,7 @@ void EmulLCD::writeRaster(uint8_t *new_raster) * 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 */