summaryrefslogtreecommitdiff
path: root/nxt-python-fantom/nxt/usbsock.py
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-05-05 14:19:14 +0800
committerTat-Chee Wan (USM)2011-05-05 14:19:14 +0800
commitb8c8045ffdff1e0d5337398563ed6b86d3661040 (patch)
treef127b29d0878a339d07b394f5e68ede5ec4d2928 /nxt-python-fantom/nxt/usbsock.py
parent849bb04045a9c458420e210414b5a4d211cde76d (diff)
modified recv() to accept a buffer length argument in usbsock.py
Diffstat (limited to 'nxt-python-fantom/nxt/usbsock.py')
-rw-r--r--nxt-python-fantom/nxt/usbsock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nxt-python-fantom/nxt/usbsock.py b/nxt-python-fantom/nxt/usbsock.py
index f4dc3f1..5ff2b36 100644
--- a/nxt-python-fantom/nxt/usbsock.py
+++ b/nxt-python-fantom/nxt/usbsock.py
@@ -128,6 +128,6 @@ if __name__ == '__main__':
#print "read", struct.unpack('%dB' % len(rep), rep)
#s.close()
#del s
- brick.sock.close()
+ #brick.sock.close()
del brick