projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
drv
/
lcd_32122a.c
diff --git
a/bertos/drv/lcd_32122a.c
b/bertos/drv/lcd_32122a.c
index 7c3499de8108fbdf163dce9015fb69f0dc308d3b..b46ee0b71b42b5e43927d1af3f059e49cbcd470d 100644
(file)
--- a/
bertos/drv/lcd_32122a.c
+++ b/
bertos/drv/lcd_32122a.c
@@
-291,7
+291,7
@@
void lcd_32122_setPwm(int duty)
/**
* Update the LCD display with data from the provided bitmap.
*/
/**
* 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_writeRaster(bm->raster);
}
@@
-320,7
+320,8
@@
void lcd_32122_init(void)
lcd_32122_clear();
lcd_32122_setPwm(LCD_DEF_PWM);
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 */
#if CONFIG_LCD_SOFTINT_REFRESH
/* Init IRQ driven LCD refresh */