cFE icon indicating copy to clipboard operation
cFE copied to clipboard

Misleading startup script message

Open skliper opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Misleading number reported when checking number of tokens (NumTokens vs the file entry): https://github.com/nasa/cFE/blob/c1aa16ae647f6ec4b2f23175a120be29034b8462/modules/es/fsw/src/cfe_es_apps.c#L303

Describe the solution you'd like Recommend moving the check to where tokens are parsed, since that's where the entry number is available. Could print out the actual tokens. I'd expect the most frequent issue would be missing a comma.

Describe alternatives you've considered If check is kept where it is now, clarify w/ something like NumTokens = %u != 8

Additional context None

Requester Info Jacob Hageman - NASA/GSFC

skliper avatar Sep 22 '23 21:09 skliper