Skip to content

Commit

Permalink
Don't reset the device on startup because it confuses Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Mar 30, 2020
1 parent 39b2320 commit 1954f02
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/usb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ static void usb_init()
if (i < 0)
Error() << "could not claim interface: " << usberror(i);

i = libusb_reset_device(device);
if (i < 0)
Error() << "could not reset device: " << usberror(i);

int version = usbGetVersion();
if (version != FLUXENGINE_VERSION)
Error() << "your FluxEngine firmware is at version " << version
Expand Down

0 comments on commit 1954f02

Please sign in to comment.