Tool/software: TI-RTOS
Hi guys,
I have a problem with snprintf function in my program. I am using FreeRTOS as well.
When I call snprintf my microcontroller (TI Hercules) freezes after the 4th call of the function:
// printing. LevelValues level = levels[levelNumber]; int n = 0; char str[50] = {0}; n = snprintf(str, 50, "%d %d %d %d", level.fl_wheel, level.fr_wheel, level.bl_wheel, level.br_wheel); printText_ex(str, n); // end printing
In debug I see that it is stuck in the function like "Abort" (or something like that).
P.S. I found the similar issue here:
Thank you for help.