from components/lvgl_esp32_drivers/lvgl_helpers.h:18,
from components/lvgl_esp32_drivers/lvgl_helpers.c:10:
components/lvgl_esp32_drivers/lvgl_helpers.c: In function 'lvgl_spi_driver_init':
components/lvgl_esp32_drivers/lvgl_helpers.c:157:28: error: 'SPI_HOST_MAX' undeclared (first use in this function); did you mean 'GPIO_PORT_MAX'?
assert((0 <= host) && (SPI_HOST_MAX > host));
^~~~~~~~~~~~
components/lvgl_esp32_drivers/lvgl_helpers.c:157:28: note: each undeclared identifier is reported only once for each function it appears in
*** [.pio/build/esp32doit-devkit-v1-sergey/components/lvgl_esp32_drivers/lvgl_helpers.o] Error 1
Fix compilation issue
Fix taken from develop branch: https://github.com/lvgl/lvgl_esp32_drivers/blob/develop/lvgl_helpers.c#L270 by @C47D