PaulStoffregen / USBHost_t36

USB Host Library for Teensy 3.6 and 4.0
171 stars 87 forks source link

Fix the PL2303 begin hang - userial.begin() #81

Closed KurtE closed 2 years ago

KurtE commented 2 years ago

Brought over the changes from the FS integration branch.

Problem was there were a couple of places that return statements were missing, so it tried to queue up two messages on the control pipe in the same call which does not work

KurtE commented 2 years ago

@PaulStoffregen @mjs513 - this one fixed the forum issues. At least it worked with my tests of it..

mjs513 commented 2 years ago

@PaulStoffregen @KurtE

I ran Kurt's fixes as well and can confirm that it worked on this end as well on the T3.6. Believe Kurt tested with the TMM.

Ref: https://forum.pjrc.com/threads/69329-Teensy-3-6-USB-host-hangs-on-userial-begin()-if-device-already-plugged-in?highlight=PL2303

PaulStoffregen commented 2 years ago

Ok sounds good. Going to merge this.