Skip to content

Commit

Permalink
BF: Resetting to command mode on exit is no longer needed and can cau…
Browse files Browse the repository at this point in the history
…se errors
  • Loading branch information
todd committed Jul 18, 2024
1 parent b5990ce commit 944f7f4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions psychopy_bbtk/tpad.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,15 +333,6 @@ def __init__(
)
# reset timer
self.resetTimer()

def __del__(self):
self.close()

def close(self):
# set mode to 0 on exit
self.setMode(0)
# close
sd.SerialDevice.close(self)

@staticmethod
def getAvailableDevices():
Expand Down

0 comments on commit 944f7f4

Please sign in to comment.