Skip to content

Release Table Address Prior to cFE call to CFE_TBL_Manage #255

Description

@DHerceg-NASA

Is your feature request related to a problem? Please describe.
I believe a CFE_TBL_ReleaseAddress should be issued before CFE_TBL_Manage from the function SAMPLE_APP_SendHkCmd of sample_app_cmd.c as it clears associated an associated lock flag.

Describe the solution you'd like
From sample_app_cmd.c, SAMPLE_APP_SendHkCmd:

...
    /*
    ** Manage any pending table loads, validations, etc.
    */
    for (i = 0; i < SAMPLE_APP_PLATFORM_NUMBER_OF_TABLES; i++)
    {
        CFE_TBL_ReleaseAddress(SAMPLE_APP_Data.TblHandles[i]);
        CFE_TBL_Manage(SAMPLE_APP_Data.TblHandles[i]);
    }

    return CFE_SUCCESS;

Describe alternatives you've considered
N/A

Additional context

  • cfe_tbl_api.c - CFE_TBL_ReleaseAddress()
  • cfe_tbl_api.c - CFE_TBL_Manage()
  • sample_app_cmds.c - SAMPLE_APP_SendHkCmd()

Requester Info
David Herceg - david.t.herceg@nasa.gov

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions