Skip to content

Commit 87ed6f0

Browse files
committed
Updates the touch driver and hopefully fixes a couple of problems with it.
1 parent 914259d commit 87ed6f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api_drivers/py_api_drivers/frozen/indev/touch_calibration/touch_calibrate.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ def get_coords():
418418

419419
while state == self.indev.PRESSED:
420420
self.crosshair.set_src(self.crosshair_anim[anim_index])
421+
lv.refr_now(self.scr.get_display())
421422
anim_index += 1
422423

423424
if anim_index == len(self.crosshair_anim):
@@ -427,6 +428,7 @@ def get_coords():
427428
state, x, y = get_coords()
428429

429430
self.crosshair.set_src(self.base_crosshair)
431+
lv.refr_now(self.scr.get_display())
430432

431433
if count == self.touch_count:
432434
self.taking_samples = False

0 commit comments

Comments
 (0)