aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/BulkVendor/HostTestApp/test_bulk_vendor.py
diff options
context:
space:
mode:
authorskullydazed <skullydazed@users.noreply.github.com>2019-07-07 10:59:58 -0700
committerGitHub <noreply@github.com>2019-07-07 10:59:58 -0700
commit04a7f66421ac141a8927491fa61e4f8e425accad (patch)
tree027bafce1cd12c31e84a758bea24d5fdb78226cb /Demos/Device/LowLevel/BulkVendor/HostTestApp/test_bulk_vendor.py
parentd0fd80affba97b37eb00c650e87cb5982a4f260e (diff)
parent57edb9b0976fad82bfd0384b16c6c3269e0d19ce (diff)
downloadlufa-04a7f66421ac141a8927491fa61e4f8e425accad.tar.gz
lufa-04a7f66421ac141a8927491fa61e4f8e425accad.tar.bz2
lufa-04a7f66421ac141a8927491fa61e4f8e425accad.zip
Merge pull request #2 from drashna/master
Update LUFA repo from upstream
Diffstat (limited to 'Demos/Device/LowLevel/BulkVendor/HostTestApp/test_bulk_vendor.py')
-rw-r--r--Demos/Device/LowLevel/BulkVendor/HostTestApp/test_bulk_vendor.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Demos/Device/LowLevel/BulkVendor/HostTestApp/test_bulk_vendor.py b/Demos/Device/LowLevel/BulkVendor/HostTestApp/test_bulk_vendor.py
index fff8ecd78..c52a512d3 100644
--- a/Demos/Device/LowLevel/BulkVendor/HostTestApp/test_bulk_vendor.py
+++ b/Demos/Device/LowLevel/BulkVendor/HostTestApp/test_bulk_vendor.py
@@ -1,6 +1,6 @@
"""
LUFA Library
- Copyright (C) Dean Camera, 2017.
+ Copyright (C) Dean Camera, 2019.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
@@ -11,7 +11,7 @@
receive a continuous stream of packets to/from to the device, to show
bidirectional communications.
- Requires the pyUSB library (http://sourceforge.net/projects/pyusb/).
+ Requires PyUSB >= 1.0.0 (https://github.com/pyusb/pyusb).
"""
import sys
@@ -53,8 +53,8 @@ def main():
print("Connected to device 0x%04X/0x%04X - %s [%s]" %
(vendor_device.idVendor, vendor_device.idProduct,
- usb.util.get_string(vendor_device, 255, vendor_device.iProduct),
- usb.util.get_string(vendor_device, 255, vendor_device.iManufacturer)))
+ usb.util.get_string(vendor_device, vendor_device.iProduct),
+ usb.util.get_string(vendor_device, vendor_device.iManufacturer)))
x = 0
while 1: