Reset adapter state on init, fixes errors relating driver hang from unexpected unplug

This commit is contained in:
Ameer 2020-07-01 12:52:50 -04:00
parent 0c6128cc3a
commit 34e6084c8d
2 changed files with 9 additions and 0 deletions

View file

@ -152,6 +152,7 @@ private:
libusb_context* libusb_ctx;
u8 input_endpoint = 0;
u8 output_endpoint = 0;
bool configuring = false;