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 poll rate on touchscreen #3238

Merged
merged 4 commits into from
Sep 17, 2019
Merged

Fix poll rate on touchscreen #3238

merged 4 commits into from
Sep 17, 2019

Conversation

JamesH65
Copy link
Contributor

Was running at 25Hz, rather than he expected 60. Only been doing it
for the last 5 years....

Replace msleep_interruptible with usleep_range as the msleep call
is not accurate for times < 20ms.

Was running at 25Hz, rather than he expected 60. Only been doing it
for the last 5 years....

Replace msleep_interruptible with usleep_range as the msleep call
is not accurate for times < 20ms.

Signed-off-by: James Hughes <james.hughes@raspberrypi.org>
@pelwell pelwell merged commit 055a2d9 into rpi-4.19.y Sep 17, 2019
@popcornmix popcornmix deleted the touchscreen_pollrate_fix branch September 17, 2019 15:25
pelwell pushed a commit that referenced this pull request Sep 19, 2019
Was running at 25Hz, rather than he expected 60. Only been doing it
for the last 5 years....

Replace msleep_interruptible with usleep_range as the msleep call
is not accurate for times < 20ms.

Fixes: #3227

Signed-off-by: James Hughes <james.hughes@raspberrypi.org>
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