Skip to content

Commit 3e3ec71

Browse files
committed
Refactor lvgl_lcd_init to remove resolution parameters for ST7789 and ST7796 panels
1 parent dd8c9b1 commit 3e3ec71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lvgl_panel_st7789_spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <esp_lcd_panel_ops.h>
88
#include <lvgl_panel_common.h>
99

10-
lv_display_t *lvgl_lcd_init(uint32_t hor_res, uint32_t ver_res)
10+
lv_display_t *lvgl_lcd_init()
1111
{
1212
lv_display_t *display = lvgl_create_display();
1313
log_v("display:%p", display);

src/lvgl_panel_st7796_spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <esp_lcd_panel_ops.h>
99
#include <lvgl_panel_common.h>
1010

11-
lv_display_t *lvgl_lcd_init(uint32_t hor_res, uint32_t ver_res)
11+
lv_display_t *lvgl_lcd_init()
1212
{
1313
lv_display_t *display = lvgl_create_display();
1414
log_v("display:%p", display);

0 commit comments

Comments
 (0)