Retargeted for esp32. This was detected by a trapped backtrace.
char txt[10] too small increased to char txt[25] and stack smash went away.
Could be a smaller allocation but I don't have enough time to find the best value cause I don't know what this obtusely written function does.
Retargeted for esp32. This was detected by a trapped backtrace. char txt[10] too small increased to char txt[25] and stack smash went away. Could be a smaller allocation but I don't have enough time to find the best value cause I don't know what this obtusely written function does.