Skip to content

Commit

Permalink
Removed render mode setting
Browse files Browse the repository at this point in the history
  • Loading branch information
rzeldent committed Jul 14, 2024
1 parent 9afa83e commit 34de26f
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/lvgl_panel_gc9a01_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ lv_display_t *lvgl_lcd_init(uint32_t hor_res, uint32_t ver_res)

// Hardware rotation is supported
display->sw_rotate = 0;
display->render_mode = LV_DISPLAY_RENDER_MODE_PARTIAL;
display->rotation = LV_DISPLAY_ROTATION_0;

// Create SPI bus
Expand Down
1 change: 0 additions & 1 deletion src/lvgl_panel_ili9341_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ lv_display_t *lvgl_lcd_init(uint32_t hor_res, uint32_t ver_res)

// Hardware rotation is supported
display->sw_rotate = 0;
display->render_mode = LV_DISPLAY_RENDER_MODE_PARTIAL;
display->rotation = LV_DISPLAY_ROTATION_0;

// Create SPI bus
Expand Down
1 change: 0 additions & 1 deletion src/lvgl_panel_st7262_par.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ lv_display_t *lvgl_lcd_init(uint32_t hor_res, uint32_t ver_res)

// Hardware rotation is not supported
display->sw_rotate = 1;
display->render_mode = LV_DISPLAY_RENDER_MODE_DIRECT;
display->rotation = LV_DISPLAY_ROTATION_0;

// Create direct_io panel handle
Expand Down
1 change: 0 additions & 1 deletion src/lvgl_panel_st7701_par.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ lv_display_t *lvgl_lcd_init(uint32_t hor_res, uint32_t ver_res)

// Hardware rotation is not supported
display->sw_rotate = 1;
display->render_mode = LV_DISPLAY_RENDER_MODE_DIRECT;
display->rotation = LV_DISPLAY_ROTATION_0;

// Install 3-wire SPI panel IO
Expand Down
1 change: 0 additions & 1 deletion src/lvgl_panel_st7789_i80.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ lv_display_t *lvgl_lcd_init(uint32_t hor_res, uint32_t ver_res)

// Hardware rotation is supported
display->sw_rotate = 0;
display->render_mode = LV_DISPLAY_RENDER_MODE_PARTIAL;
display->rotation = LV_DISPLAY_ROTATION_0;

pinMode(ST7789_RD_GPIO, OUTPUT);
Expand Down
1 change: 0 additions & 1 deletion src/lvgl_panel_st7789_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ lv_display_t *lvgl_lcd_init(uint32_t hor_res, uint32_t ver_res)

// Hardware rotation is supported
display->sw_rotate = 0;
display->render_mode = LV_DISPLAY_RENDER_MODE_PARTIAL;
display->rotation = LV_DISPLAY_ROTATION_0;

// Create SPI bus
Expand Down
1 change: 0 additions & 1 deletion src/lvgl_panel_st7796_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ lv_display_t *lvgl_lcd_init(uint32_t hor_res, uint32_t ver_res)

// Hardware rotation is supported
display->sw_rotate = 0;
display->render_mode = LV_DISPLAY_RENDER_MODE_PARTIAL;
display->rotation = LV_DISPLAY_ROTATION_0;

// Create SPI bus
Expand Down

0 comments on commit 34de26f

Please sign in to comment.