lvgl / lv_drivers

TFT and touch pad drivers for LVGL embedded GUI library
https://docs.lvgl.io/master/porting/index.html
MIT License
306 stars 314 forks source link

fix(fbdev) avoid clearing the screen on init #183

Closed Johennes closed 2 years ago

Johennes commented 2 years ago

This avoids clearing the framebuffer upon driver initialization. This is important in cases where the client only draws to a subsection of the framebuffer and intends to leave the remaining parts unchanged.

Fixes #180

embeddedt commented 2 years ago

Looks good, thanks!

Technically the coding style doesn't allow // comments, but the file has plenty of them already, so for now, it makes more sense to use them.

Johennes commented 2 years ago

Yeah, funnily I thought exactly the same but just followed the existing style in the file.

Thanks for the ultra-speedy review!