You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: