/**
* Update the LCD display with data from the provided bitmap.
*/
-void lcd_32122_blitBitmap(Bitmap *bm)
+void lcd_32122_blitBitmap(const Bitmap *bm)
{
lcd_32122_writeRaster(bm->raster);
}
lcd_32122_clear();
lcd_32122_setPwm(LCD_DEF_PWM);
- gfx_bitmapInit(&lcd_bitmap, lcd_raster, LCD_WIDTH, LCD_HEIGHT); gfx_bitmapClear(&lcd_bitmap);
+ gfx_bitmapInit(&lcd_bitmap, lcd_raster, LCD_WIDTH, LCD_HEIGHT);
+ gfx_bitmapClear(&lcd_bitmap);
#if CONFIG_LCD_SOFTINT_REFRESH
/* Init IRQ driven LCD refresh */
#define LCD_WIDTH 122
#define LCD_HEIGHT 32
+#include <gfx/gfx.h> /* Bitmap */
+
#warning __FILTER_NEXT_WARNING__
#warning this drive is untested..
-extern struct Bitmap lcd_bitmap;
-
void lcd_32122_init(void);
void lcd_32122_setPwm(int duty);
-void lcd_32122_blitBitmap(struct Bitmap *bm);
+void lcd_32122_blitBitmap(const Bitmap *bm);
#endif /* DRV_LCD_32122A_H */