X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Flcd_gfx.c;h=7784c63a184b69f12105fe755e462dac15a39284;hb=3209699c4b8c578b0173bdd1b6b57aee36113836;hp=9a25cf094bb41cb315abe06fae814a689a6df901;hpb=9411f259330967f9ad4e0cccd98ef37e811ba257;p=bertos.git diff --git a/drv/lcd_gfx.c b/drv/lcd_gfx.c index 9a25cf09..7784c63a 100755 --- a/drv/lcd_gfx.c +++ b/drv/lcd_gfx.c @@ -16,6 +16,9 @@ /*#* *#* $Log$ + *#* Revision 1.2 2006/01/23 23:11:27 bernie + *#* Use RASTER_SIZE() to compute... err... the raster size. + *#* *#* Revision 1.1 2006/01/16 03:50:57 bernie *#* Import into DevLib. *#* @@ -222,7 +225,7 @@ * as required by the LCD driver. */ DECLARE_WALL(wall_before_raster, WALL_SIZE) -static uint8_t lcd_raster[LCD_WIDTH * ((LCD_HEIGHT + 7) / 8)]; +static uint8_t lcd_raster[RASTER_SIZE(LCD_WIDTH, LCD_HEIGHT)]; DECLARE_WALL(wall_after_raster, WALL_SIZE) /*! Default LCD bitmap */