Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix missing SPI_HOST_MAX #188

Closed
wants to merge 1 commit into from

Conversation

seregamorph
Copy link

Fix compilation issue

                 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 taken from develop branch: https://github.com/lvgl/lvgl_esp32_drivers/blob/develop/lvgl_helpers.c#L270 by @C47D

@C47D
Copy link
Collaborator

C47D commented Apr 13, 2022

@tore-espressif should we merge this or close it as develop is soon to be merged into master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants