Skip to content
Commit 4542091d authored by Gregory Nutt's avatar Gregory Nutt
Browse files

NSH USB Console: Add logic to restart the console wait if an error occurs...

NSH USB Console:  Add logic to restart the console wait if an error occurs while reading from the console.  In USB console startup, the logic must be able to open the USB serial and receive 3 newlines.  However, it the USB driver is disconnected or otherwise fails before the 3 newlines are received, the receive loop becomes a killer, infinite loop, CPU hog.  Noted by spasbyspas
parent be98711f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment