From 77dc456d5519c9f270065f44c6479010b9876f69 Mon Sep 17 00:00:00 2001 From: Gabriel Wang Date: Mon, 10 Jan 2022 19:32:17 +0000 Subject: [PATCH] docs(porting): remove duplicated content (#2984) * docs(porting): remove duplicated content * Update docs/porting/display.md Co-authored-by: Gabor Kiss-Vamosi --- docs/porting/display.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/porting/display.md b/docs/porting/display.md index 0b91a0c48..eb03257c3 100644 --- a/docs/porting/display.md +++ b/docs/porting/display.md @@ -100,9 +100,7 @@ There are some optional display driver data fields: - `screen_transp` if `1` the screen itself can have transparency as well. `LV_COLOR_SCREEN_TRANSP` must be enabled in `lv_conf.h` and `LV_COLOR_DEPTH` must be 32. - `user_data` A custom `void` user data for the driver. - `full_refresh` always redrawn the whole screen (see above) -- `direct_mode` drive directly into the frame buffer (see above) -- `user_data` A custom `void `user data for the driver.. - +- `direct_mode` draw directly into the frame buffer (see above) Some other optional callbacks to make it easier and more optimal to work with monochrome, grayscale or other non-standard RGB displays: - `rounder_cb` Round the coordinates of areas to redraw. E.g. a 2x2 px can be converted to 2x8.