... | ... | @@ -254,10 +254,12 @@ If you can access the LCD frame buffer directly, and your LCD screen |
|
|
do not need a refresh/update operation, you do not need to implement
|
|
|
the update method, and the function can just return zero:
|
|
|
|
|
|
int __commlcd_drv_update (const RECT* rc_dirty)
|
|
|
{
|
|
|
return 0;
|
|
|
}
|
|
|
```C
|
|
|
int __commlcd_drv_update (const RECT* rc_dirty)
|
|
|
{
|
|
|
return 0;
|
|
|
}
|
|
|
```
|
|
|
|
|
|
If you specify the `update_mothod` to be `COMMLCD_UPDATE_NONE` in
|
|
|
`__commlcd_drv_init` method, this function will be never called.
|
... | ... | |