summaryrefslogtreecommitdiff
path: root/tools/pydfu.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pydfu.py')
-rwxr-xr-xtools/pydfu.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/pydfu.py b/tools/pydfu.py
index 8c0220de8..4296f07bf 100755
--- a/tools/pydfu.py
+++ b/tools/pydfu.py
@@ -81,6 +81,7 @@ def init():
if len(devices) > 1:
raise ValueError("Multiple DFU devices found")
__dev = devices[0]
+ __dev.set_configuration()
# Claim DFU interface
usb.util.claim_interface(__dev, __DFU_INTERFACE)