We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
You asked for guesses: the problem might have nothing to do with the array size, etc., your uart... function might be failing sometimes for unknown reason and you are just looking for a problem in a wrong place.FWIW.