helpers: Remove display initialization when using SPI
This commit is contained in:
parent
64832c4136
commit
aa8a78f72a
|
@ -105,7 +105,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();
|
|
||||||
#elif defined (CONFIG_LV_I2C_DISPLAY)
|
#elif defined (CONFIG_LV_I2C_DISPLAY)
|
||||||
disp_driver_init();
|
disp_driver_init();
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue