aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/nxt-python-fantom/nxt/pyusbglue.py
diff options
context:
space:
mode:
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.'