Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cFE Integration candidate: 2021-03-23 #1243

Merged
merged 20 commits into from
Mar 22, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
bedca93
Fix #1033, remove false child tasks statement.
zanzaben Mar 11, 2021
54d5162
Fix #590, Clarify the documentation on SB MsgId
zanzaben Mar 11, 2021
3f596eb
Fix #1226, Add Contributing Guide
arielswalker Mar 16, 2021
a00a788
Fix #1217, locally define BIG/LITTLE order macros
jphickey Mar 10, 2021
10747de
Fix #1195, Avoid implicit conversion from vsnprintf errors
skliper Mar 17, 2021
cd8959b
Fix #1200, Correct local type for CFE_TBL_FindTableInRegistry returns
skliper Mar 17, 2021
6b76dd7
Fix #1200, Report status in CFE_ES_FileWriteByteCntErr event
skliper Mar 17, 2021
ba29f16
Fix #1204, Use mask instead of cast to alter value
skliper Mar 16, 2021
31aae76
Fix #1208, Cast isspace input to unsigned char
skliper Mar 16, 2021
b878c4e
Fix #1221, Use quotes for local includes
skliper Mar 16, 2021
b44c4b6
Merge pull request #1218 from jphickey/fix-1217-bit-order
astrogeco Mar 18, 2021
4b58081
Merge pull request #1193 from zanzaben/fix1033_Update_App_Dev_Guide
astrogeco Mar 18, 2021
68cd788
Merge pull request #1235 from skliper/fix1195-vsnprintf_error
astrogeco Mar 18, 2021
1e05768
Merge pull request #1220 from zanzaben/fix590_clarify_SB_MsgId_doc
astrogeco Mar 18, 2021
cab1e18
Merge pull request #1230 from skliper/fix1208-negative_isspace
astrogeco Mar 18, 2021
63f4eb2
Merge pull request #1231 from skliper/fix1204-alter_with_mask
astrogeco Mar 18, 2021
c642d5e
Merge pull request #1232 from skliper/fix1200-fix_types
astrogeco Mar 18, 2021
6001050
Merge pull request #1228 from skliper/fix1221-include_quotes
astrogeco Mar 18, 2021
0e61b52
Merge pull request #1227 from ArielSAdamsNASA/fix-1226-add_contributi…
astrogeco Mar 18, 2021
313bcc0
IC:2021-03-23 Bump to v6.8.0-rc1+dev436
astrogeco Mar 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/es/fsw/src/cfe_es_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -1990,12 +1990,12 @@ int32 CFE_ES_DumpCDSRegistryCmd(const CFE_ES_DumpCDSRegistryCmd_t *data)
/* a byte count discrepancy has been*/
/* detected during the file write */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
void CFE_ES_FileWriteByteCntErr(const char *Filename, size_t Requested, size_t Actual)
void CFE_ES_FileWriteByteCntErr(const char *Filename, size_t Requested, int32 Status)
{

CFE_EVS_SendEvent(CFE_ES_FILEWRITE_ERR_EID, CFE_EVS_EventType_ERROR,
"File write,byte cnt err,file %s,request=%u,actual=%u", Filename, (unsigned int)Requested,
(unsigned int)Actual);
"File write,byte cnt err,file %s,request=%u,status=0x%08x", Filename, (unsigned int)Requested,
(unsigned int)Status);

} /* End of CFE_ES_FileWriteByteCntErr() */

Expand Down
2 changes: 1 addition & 1 deletion modules/es/fsw/src/cfe_es_task.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ int32 CFE_ES_DumpCDSRegistryCmd(const CFE_ES_DumpCDSRegistryCmd_t *data);
*/
bool CFE_ES_ValidateHandle(CFE_ES_MemHandle_t Handle);
bool CFE_ES_VerifyCmdLength(CFE_MSG_Message_t *MsgPtr, size_t ExpectedLength);
void CFE_ES_FileWriteByteCntErr(const char *Filename, size_t Requested, size_t Actual);
void CFE_ES_FileWriteByteCntErr(const char *Filename, size_t Requested, int32 Status);

/*************************************************************************/

Expand Down
9 changes: 5 additions & 4 deletions modules/tbl/fsw/src/cfe_tbl_task_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ int32 CFE_TBL_LoadCmd(const CFE_TBL_LoadCmd_t *data)
CFE_TBL_File_Hdr_t TblFileHeader;
osal_id_t FileDescriptor;
int32 Status;
int16 RegIndex;
CFE_TBL_RegistryRec_t * RegRecPtr;
CFE_TBL_LoadBuff_t * WorkingBufferPtr;
char LoadFilename[OS_MAX_PATH_LEN];
Expand All @@ -379,17 +380,17 @@ int32 CFE_TBL_LoadCmd(const CFE_TBL_LoadCmd_t *data)
if (Status == CFE_SUCCESS)
{
/* Locate specified table in registry */
Status = CFE_TBL_FindTableInRegistry(TblFileHeader.TableName);
RegIndex = CFE_TBL_FindTableInRegistry(TblFileHeader.TableName);

if (Status == CFE_TBL_NOT_FOUND)
if (RegIndex == CFE_TBL_NOT_FOUND)
{
CFE_EVS_SendEvent(CFE_TBL_NO_SUCH_TABLE_ERR_EID, CFE_EVS_EventType_ERROR,
"Unable to locate '%s' in Table Registry", TblFileHeader.TableName);
}
else
{
/* Translate the registry index into a record pointer */
RegRecPtr = &CFE_TBL_Global.Registry[Status];
RegRecPtr = &CFE_TBL_Global.Registry[RegIndex];

if (RegRecPtr->DumpOnly)
{
Expand Down Expand Up @@ -1321,7 +1322,7 @@ int32 CFE_TBL_DeleteCDSCmd(const CFE_TBL_DeleteCDSCmd_t *data)
char TableName[CFE_TBL_MAX_FULL_NAME_LEN];
CFE_TBL_CritRegRec_t * CritRegRecPtr = NULL;
uint32 i;
uint32 RegIndex;
int16 RegIndex;
int32 Status;

/* Make sure all strings are null terminated before attempting to process them */
Expand Down
2 changes: 1 addition & 1 deletion modules/tbl/ut-coverage/tbl_UT.c
Original file line number Diff line number Diff line change
Expand Up @@ -2589,7 +2589,7 @@ void Test_CFE_TBL_Manage(void)
{
int32 RtnCode;
bool EventsCorrect;
int32 RegIndex;
int16 RegIndex;
CFE_TBL_RegistryRec_t * RegRecPtr;
CFE_TBL_LoadBuff_t * WorkingBufferPtr;
UT_Table1_t TestTable1;
Expand Down