Skip to content
Discussion options

You must be logged in to vote

In the initialization section, the code following CFE_TBL_Manage shouldn't be needed. CFE_TBL_Manage will do any verification if there is any that needs to be done. The status returned by CFE_TBL_Load will let you know whether the file was successfully loaded into the table or not.

In the TableUpdate function, the first assignment statement may be copying the contents of the table into Config[TableData->index]. You are now manipulating the contents of a copy rather than the actual active table managed by Table Services. I would suggest the code looking something like the following:
TableData->test = TableData->test - 1;

Then notify Table Services that the contents have been modified:

CFE…

Replies: 8 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@aebaranoff
Comment options

@BBinLP
Comment options

Answer selected by aebaranoff
@aebaranoff
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants