Skip to content

Commit

Permalink
Merge pull request #173 from rzeldent:logging_fixes
Browse files Browse the repository at this point in the history
Added missing drv parameter in logging
  • Loading branch information
rzeldent authored Jun 16, 2024
2 parents 72c95c1 + 2dbdba4 commit 760e386
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/lvgl_panel_ili9341_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static void ili9341_lv_flush(lv_disp_drv_t *drv, const lv_area_t *area, lv_color

void lvgl_lcd_init(lv_disp_drv_t *drv)
{
log_v("drv:0x%08x");
log_v("drv:0x%08x", drv);

// Hardware rotation is supported
drv->sw_rotate = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/lvgl_panel_st7262_par.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void direct_io_lv_flush(lv_disp_drv_t *drv, const lv_area_t *area, lv_color_t *c

void lvgl_lcd_init(lv_disp_drv_t *drv)
{
log_v("drv:0x%08x");
log_v("drv:0x%08x", drv);

// Hardware rotation is NOT supported
drv->sw_rotate = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/lvgl_panel_st7701_par.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void direct_io_lv_flush(lv_disp_drv_t *drv, const lv_area_t *area, lv_color_t *c

void lvgl_lcd_init(lv_disp_drv_t *drv)
{
log_v("drv:0x%08x");
log_v("drv:0x%08x", drv);

// Hardware rotation is NOT supported
drv->sw_rotate = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/lvgl_panel_st7789_i80.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void st7789_lv_flush(lv_disp_drv_t *drv, const lv_area_t *area, lv_color_t *colo

void lvgl_lcd_init(lv_disp_drv_t *drv)
{
log_v("drv:0x%08x");
log_v("drv:0x%08x", drv);

// Hardware rotation is NOT supported
drv->sw_rotate = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/lvgl_panel_st7789_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void st7789_lv_flush(lv_disp_drv_t *drv, const lv_area_t *area, lv_color_t *colo

void lvgl_lcd_init(lv_disp_drv_t *drv)
{
log_v("drv:0x%08x");
log_v("drv:0x%08x", drv);

// Hardware rotation is supported
drv->sw_rotate = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/lvgl_panel_st7796_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void st7796_lv_flush(lv_disp_drv_t *drv, const lv_area_t *area, lv_color_t *colo

void lvgl_lcd_init(lv_disp_drv_t *drv)
{
log_v("drv:0x%08x");
log_v("drv:0x%08x", drv);

// Hardware rotation is supported
drv->sw_rotate = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/lvgl_touch_cst816s_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void cst816s_lvgl_touch_cb(lv_indev_drv_t *drv, lv_indev_data_t *data)

void lvgl_touch_init(lv_indev_drv_t *drv)
{
log_v("drv:0x%08x");
log_v("drv:0x%08x", drv);

// Create I2C bus
const i2c_config_t i2c_config = {
Expand Down
2 changes: 1 addition & 1 deletion src/lvgl_touch_gt911_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void gt911_lvgl_touch_cb(lv_indev_drv_t *drv, lv_indev_data_t *data)

void lvgl_touch_init(lv_indev_drv_t *drv)
{
log_v("drv:0x%08x");
log_v("drv:0x%08x", drv);

// Create I2C bus
const i2c_config_t i2c_config = {
Expand Down
2 changes: 1 addition & 1 deletion src/lvgl_touch_xpt2046_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void xpt2046_lvgl_touch_cb(lv_indev_drv_t *drv, lv_indev_data_t *data)

void lvgl_touch_init(lv_indev_drv_t *drv)
{
log_v("drv:0x%08x");
log_v("drv:0x%08x", drv);

// Create SPI bus only if not already initialized (S035R shares the SPI bus)
const spi_bus_config_t spi_bus_config = {
Expand Down

0 comments on commit 760e386

Please sign in to comment.