Skip to content

Commit

Permalink
Merge pull request #14 from skliper/fix13-rm_psp_mem_api
Browse files Browse the repository at this point in the history
Fix #13, Remove CFE_PSP_MemSet use for addresses in RAM
  • Loading branch information
astrogeco authored Jun 1, 2022
2 parents 3efe7dd + 3d91b61 commit 8a170dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fsw/src/hk_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void HK_ProcessIncomingHkData(const CFE_SB_Buffer_t *BufPtr)
DestPtr = ((uint8 *)RtTblEntry->OutputPktAddr) + CpyTblEntry->OutputOffset;
SrcPtr = ((uint8 *)BufPtr) + CpyTblEntry->InputOffset;

CFE_PSP_MemCpy(DestPtr, SrcPtr, CpyTblEntry->NumBytes);
memcpy(DestPtr, SrcPtr, CpyTblEntry->NumBytes);

/* Set the data present field to indicate the data is there */
RtTblEntry->DataPresent = HK_DATA_PRESENT;
Expand Down
2 changes: 1 addition & 1 deletion unit-test/utilities/hk_test_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void HK_Test_Setup(void)
/* initialize test environment to default state for every test */
UT_ResetState(0);

memset(&HK_AppData, 0, sizeof(HK_AppData_t));
memset(&HK_AppData, 0, sizeof(HK_AppData));
memset(context_CFE_EVS_SendEvent, 0, sizeof(context_CFE_EVS_SendEvent));
memset(&context_CFE_ES_WriteToSysLog, 0, sizeof(context_CFE_ES_WriteToSysLog));

Expand Down

0 comments on commit 8a170dc

Please sign in to comment.