Skip to content

Commit

Permalink
Fixes nasa#274, NumOfChildTasks not decremented
Browse files Browse the repository at this point in the history
  • Loading branch information
dmknutsen committed Jan 29, 2020
1 parent 7fff455 commit 06adfa6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fsw/cfe-core/src/es/cfe_es_apps.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,7 @@ int32 CFE_ES_AppCreate(uint32 *ApplicationIdPtr,
*/
strncpy((char *)CFE_ES_Global.AppTable[i].TaskInfo.MainTaskName, AppName, OS_MAX_API_NAME);
CFE_ES_Global.AppTable[i].TaskInfo.MainTaskName[OS_MAX_API_NAME - 1] = '\0';
/*
CFE_ES_Global.AppTable[i].TaskInfo.NumOfChildTasks = 0;
*/

/*
** Fill out the Task State info
*/
Expand Down

0 comments on commit 06adfa6

Please sign in to comment.