X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=drv%2Flcd_gfx.c;fp=drv%2Flcd_gfx.c;h=7784c63a184b69f12105fe755e462dac15a39284;hb=0d276e51619c092016aebb0955cd83b5022d6c28;hp=9a25cf094bb41cb315abe06fae814a689a6df901;hpb=c050bdecde22c15215c52b55a6107cf74147508c;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 */