curtis63 5 Posted April 18, 2016 Share Posted April 18, 2016 There have been a few situations where I've had HardwareSerial::write() lock up on me and end up in an infinite while loop. Could some changes be made to any and all possibly infinite while(); loops? I think it would just take some sort of counter that indicates how many iterations through the while(); loop have happened. Then if some upper limit is reached, exit with a fail. Let's make it bullet proof as possible. Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.