I would really very much like a goto statement to navigate these complex serial error states that need rechecking... I blame my assembly oriented brain
@literorrery its all for control flow in nested error cases :/
@Fuego Yikes. "Nested error cases" sounds frightful.
@literorrery I'm not super pleased yeah... its def my issue... I'm ending up dicking up my mutexes but not unlocking when certain things fail and of course the python serial lib HAS to be used asynch
@Fuego Use a case/switch and function calls. It's gosub, not goto, but you can refactor for pretty once you've got logic right.