Skip to content

Commit

Permalink
Updates the touch driver and hopefully fixes a couple of problems wit…
Browse files Browse the repository at this point in the history
…h it.
  • Loading branch information
kdschlosser committed Nov 5, 2024
1 parent be8a95a commit 914259d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def calibrate(self, update_handler=None):

import time
import touch_calibrate
self._cal_running = touch_calibrate.TPCal(self, self.__cal_callback)
self._cal_running = touch_calibrate.TPCal(self, self.__cal_callback, 10)
while self._cal_running:
if update_handler is not None:
delay = update_handler()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def __str__(self):

class TPCal(object):

def __init__(self, touch_count, indev, callback):
def __init__(self, indev, callback, touch_count):
self.callback = callback
disp = indev.get_disp()
disp.set_default()
Expand Down

0 comments on commit 914259d

Please sign in to comment.