summaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/nxt-python-fantom/nxt/pyusbglue.py
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-05-04 08:18:57 +0800
committerTat-Chee Wan (USM)2011-05-04 08:18:57 +0800
commitb97df7cade4aef09d7af6433483b6d23858b3f10 (patch)
treeb81b3257bf1c8a328c2e4b8edc6c9db237264bda /AT91SAM7S256/armdebug/nxt-python-fantom/nxt/pyusbglue.py
parent5da633ada55ba06757fedddda01c34f273375cb7 (diff)
parent05b196d6bf26b0fe70a43607269f88187f595673 (diff)
Merge branch 'master' of ssh://svc.cs.usm.my/~/gitrepo-bare/armdebug
Diffstat (limited to 'AT91SAM7S256/armdebug/nxt-python-fantom/nxt/pyusbglue.py')
-rw-r--r--AT91SAM7S256/armdebug/nxt-python-fantom/nxt/pyusbglue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/AT91SAM7S256/armdebug/nxt-python-fantom/nxt/pyusbglue.py b/AT91SAM7S256/armdebug/nxt-python-fantom/nxt/pyusbglue.py
index 40f708b..c0f8792 100644
--- a/AT91SAM7S256/armdebug/nxt-python-fantom/nxt/pyusbglue.py
+++ b/AT91SAM7S256/armdebug/nxt-python-fantom/nxt/pyusbglue.py
@@ -16,6 +16,7 @@
import usb
+USB_BUFSIZE = 64
ID_VENDOR_LEGO = 0x0694
ID_PRODUCT_NXT = 0x0002
@@ -44,7 +45,6 @@ class USBSocket:
self.handle.reset()
if self.debug:
print 'Connected.'
- return Brick(self)
def close(self):
'Use to close the connection.'