Browse Source

Deleting device on close.

pyserial_fix
Scott Petersen 11 years ago
parent
commit
8a9900f501
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      pyad2usb/ad2usb.py

+ 1
- 0
pyad2usb/ad2usb.py View File

@@ -212,6 +212,7 @@ class AD2USB(object):
Closes the device.
"""
self._device.close()
del self._device
self._device = None

def get_config(self):


Loading…
Cancel
Save