Closed rhgndf closed 1 year ago
Thanks for the report and the insight. So far I can't reproduce it, but I admit it can happen if the '>' character is received in a separate 'batch' of characters read from the serial line. In such case the function checkPromptExists() returns earlier than it should and causes the issue.
This might be improved (fixed?) by this commit b498bc7
Seems to be more reliable now
Errors with:
Possibly due to the function openSerial in afterburner.c:
buf[total - 3] == '>'
where there is variability on the newlines read at the end, so might need to check for '>' in the last few bytes as compared to only checking one position?