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

Cannot use touch.h from C++ file (BSP-281) #143

Closed
TT-Qt opened this issue Mar 10, 2023 · 0 comments · Fixed by #147
Closed

Cannot use touch.h from C++ file (BSP-281) #143

TT-Qt opened this issue Mar 10, 2023 · 0 comments · Fixed by #147

Comments

@TT-Qt
Copy link

TT-Qt commented Mar 10, 2023

esp_err_t bsp_touch_new(esp_lcd_touch_handle_t *ret_touch);

Suggested fix:

#ifdef __cplusplus
extern "C" {
#endif
esp_err_t bsp_touch_new(esp_lcd_touch_handle_t *ret_touch); 
#ifdef __cplusplus
}
#endif
@github-actions github-actions bot changed the title Cannot use touch.h from C++ file Cannot use touch.h from C++ file (BSP-281) Mar 10, 2023
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 a pull request may close this issue.

1 participant