Skip to content

Commit

Permalink
Closes #213: Removed 1s wait when connecting USB
Browse files Browse the repository at this point in the history
  • Loading branch information
ataffanel committed Oct 29, 2015
1 parent 7080441 commit 0647516
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/cflib/crtp/usbdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ def connect(self, uri, link_quality_callback, link_error_callback):
self.cfusb = CfUsb(devid=int(uri_data.group(1)))
if self.cfusb.dev:
self.cfusb.set_crtp_to_usb(True)
# Wait for the blocking queues in the firmware to time out
time.sleep(1)
else:
self.cfusb = None
raise Exception("Could not open {}".format(self.uri))
Expand Down

0 comments on commit 0647516

Please sign in to comment.