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

ft6x36 touch IC returns false after a successful read. #141

Closed
Ali-Abdelwdod opened this issue Nov 13, 2021 · 1 comment
Closed

ft6x36 touch IC returns false after a successful read. #141

Ali-Abdelwdod opened this issue Nov 13, 2021 · 1 comment

Comments

@Ali-Abdelwdod
Copy link

Ali-Abdelwdod commented Nov 13, 2021

the function ft6x36_read returns false even when the function detects a single touch successfully!

@Ali-Abdelwdod Ali-Abdelwdod changed the title ft6x06 touch IC returns false after a successful read. ft6x36 touch IC returns false after a successful read. Nov 13, 2021
@embeddedt
Copy link
Member

This is the intended behavior (related documentation). The return value is intended to indicate whether there are more queued touch events to process, not whether there has been a touch. Returning true if there was just one touch would cause LVGL to block indefinitely in this loop.

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

No branches or pull requests

2 participants