Skip to content

Fix poll rate on touchscreen - #3238

Merged
pelwell merged 4 commits into
rpi-4.19.yfrom
touchscreen_pollrate_fix
Sep 17, 2019
Merged

pelwell merged 4 commits into
rpi-4.19.yfrom
touchscreen_pollrate_fix

Conversation

@JamesH65

Copy link
Copy Markdown
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.

@JamesH65
JamesH65 requested review from 6by9 and pelwell September 17, 2019 15:16
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