I'm trying to use the segger RTT SEGGER_RTT_vprintf to print a string with padding.
The following code doesn't seem to work properly
The padding behaviour doesn't work as mentioned in the documentation.
Expected | 10 TEST - module |
Actual | 10 TEST - module |
When looking at the code, in "%s" mode, the FieldWith seems ignored
C
case 's':
{
const char * s = va_arg(*pParamList, const char *);
do {
c = *s;
s++;
if (c == '\0') {
break;
}
_StoreChar(&BufferDesc, c);
} while (BufferDesc.ReturnValue >= 0);
}
break;
Display More
RTT version: 7.84d
Best,
Gabriel