The printf implementation in MQX 3.8 appears to be ignoring the width specifier for strings.
I expect
printf("%3.3", "ABCD")
to output:
ABC
but I actually get:
ABCD
Hello RoyAtRce,
your printf contains width (specifies minimum characters) and also a precision specifier (maximum characters). This applies to strings.
I tested it and it really ignores the precision specifier.
Thanks for your feedback. We are going to fix this.
Regards,
MartinK