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

Update lvgl_touch_xpt2046_spi.c #228

Merged
merged 1 commit into from
Jan 25, 2025
Merged

Update lvgl_touch_xpt2046_spi.c #228

merged 1 commit into from
Jan 25, 2025

Conversation

manhere
Copy link
Contributor

@manhere manhere commented Jan 21, 2025

Create SPI bus only if not already initialized,or this will cause

09:08:49.936 -> E (1298) spi: spi_bus_initialize(756): SPI bus already initialized.
09:08:50.028 -> ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0x103 (ESP_ERR_INVALID_STATE) at 0x4008e647
09:08:50.095 -> file: ".pio/libdeps/esp32-2432S032R/esp32_smartdisplay/src/lvgl_touch_xpt2046_spi.c" line 43

Create SPI bus only if not already initialized,or this will cause 
```09:08:49.936 -> E (1298) spi: spi_bus_initialize(756): SPI bus already initialized.
09:08:50.028 -> ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0x103 (ESP_ERR_INVALID_STATE) at 0x4008e647
09:08:50.095 -> file: ".pio/libdeps/esp32-2432S032R/esp32_smartdisplay/src/lvgl_touch_xpt2046_spi.c" line 43```
Copy link
Owner

@rzeldent rzeldent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@rzeldent rzeldent merged commit 3cb5514 into rzeldent:main Jan 25, 2025
1 check passed
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.

2 participants