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 a76e11e7f0
commit 34a590e509
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;