Skip to content

Commit

Permalink
Update lvgl_panel_st7262_par.c
Browse files Browse the repository at this point in the history
Forgot to comment SwapXY
  • Loading branch information
rzeldent authored Mar 20, 2024
1 parent 0328cce commit e33a39d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lvgl_panel_st7262_par.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void lvgl_lcd_init(lv_disp_drv_t *drv)
ESP_ERROR_CHECK(esp_lcd_panel_invert_color(panel_handle, true));
#endif
#ifdef DISPLAY_SWAP_XY
ESP_ERROR_CHECK(esp_lcd_panel_swap_xy(panel_handle, DISPLAY_SWAP_XY));
//ESP_ERROR_CHECK(esp_lcd_panel_swap_xy(panel_handle, DISPLAY_SWAP_XY));
#endif
#if defined(DISPLAY_MIRROR_X) || defined(DISPLAY_MIRROR_Y)
//ESP_ERROR_CHECK(esp_lcd_panel_mirror(panel_handle, DISPLAY_MIRROR_X, DISPLAY_MIRROR_Y));
Expand All @@ -86,4 +86,4 @@ void lvgl_lcd_init(lv_disp_drv_t *drv)
drv->flush_cb = direct_io_lv_flush;
}

#endif
#endif

0 comments on commit e33a39d

Please sign in to comment.