ATC_TLSR_Paper
ATC_TLSR_Paper copied to clipboard
u_sprintf calls print.
Hi, I notice that Firmware/components/application/print/u_printf.c has an implementation of sprintf(...) that call an internal "print" function. The side effect of this is that whatever is being formatted doesn't just go to the specified char buffer, but also goes out the serial . That's probably not the behaviour you want.
I've attached my 'hacked' version of that file which contains a local vsprintf which tries to accomplish the same task without outputting to serial. See attached. It might be of some use to someone else too.
Ah, well, I tried to attach a file, with various formats, but github won't let me attach a file. If you want me to send you the file then please ask.