fix(lvgl_helpers): Remove all references to disp_driver_init in lvgl_driver_init
This commit is contained in:
parent
85f70cb688
commit
cd999e34cd
|
@ -69,7 +69,6 @@ void lvgl_driver_init(void)
|
||||||
DISP_SPI_IO2, DISP_SPI_IO3);
|
DISP_SPI_IO2, DISP_SPI_IO3);
|
||||||
|
|
||||||
disp_spi_add_device(TFT_SPI_HOST);
|
disp_spi_add_device(TFT_SPI_HOST);
|
||||||
disp_driver_init();
|
|
||||||
|
|
||||||
#if defined (CONFIG_LV_TOUCH_CONTROLLER_FT81X)
|
#if defined (CONFIG_LV_TOUCH_CONTROLLER_FT81X)
|
||||||
touch_driver_init();
|
touch_driver_init();
|
||||||
|
@ -89,7 +88,6 @@ void lvgl_driver_init(void)
|
||||||
disp_spi_add_device(TFT_SPI_HOST);
|
disp_spi_add_device(TFT_SPI_HOST);
|
||||||
tp_spi_add_device(TOUCH_SPI_HOST);
|
tp_spi_add_device(TOUCH_SPI_HOST);
|
||||||
|
|
||||||
disp_driver_init();
|
|
||||||
touch_driver_init();
|
touch_driver_init();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
@ -106,7 +104,6 @@ void lvgl_driver_init(void)
|
||||||
|
|
||||||
disp_spi_add_device(TFT_SPI_HOST);
|
disp_spi_add_device(TFT_SPI_HOST);
|
||||||
#elif defined (CONFIG_LV_I2C_DISPLAY)
|
#elif defined (CONFIG_LV_I2C_DISPLAY)
|
||||||
disp_driver_init();
|
|
||||||
#else
|
#else
|
||||||
#error "No protocol defined for display controller"
|
#error "No protocol defined for display controller"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue