I've found this is consistent across pretty much all the fpp serializable objects and it really comes down to the last member of the struct doesn't have a format string generated along with it
So for example we see with the header type the following gets generated:
Problem Description
Files generated by fpp tools doesn't produce the format string correctly and so the last member of a string doesn't show up as expected. For example
The take the following struct defined in fpp:
I then go to print out the contents like so:
I get the following:
Where I would normally expect to see something like this (the actual values don't matter for these purposes just that there is something to print):
I've found this is consistent across pretty much all the fpp serializable objects and it really comes down to the last member of the struct doesn't have a format string generated along with it
So for example we see with the header type the following gets generated:
With the CmdStatus missing the "
%s
".I'm not really sure what the source of the error is since the xml seems to be fine:
I took a look in array_cpp.py and array_cpp.tmpl but couldn't make sense of the issue there.
If I can get some help on this that'd be much appreciated.