Skip to content

Commit

Permalink
Merge pull request nasa#175 from jphickey/fix-171-osal-id-type
Browse files Browse the repository at this point in the history
Fix nasa#171, use osal_id_t for OSAL ID, not int32
  • Loading branch information
astrogeco committed Jan 18, 2022
2 parents 8d71b91 + 84072d3 commit d04e98c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fsw/src/cf_cfdp_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ typedef struct CF_ChunkWrapper
*/
typedef struct CF_Playback
{
uint32 dir_id;
osal_id_t dir_id;
CF_CFDP_Class_t cfdp_class;
CF_TxnFilenames_t fnames;
uint16 num_ts; /* number of transactions -- 16 bit should be enough */
Expand Down Expand Up @@ -387,7 +387,7 @@ typedef struct CF_Channel
/* For polling directories, the configuration data is in a table. */
CF_Poll_t poll[CF_MAX_POLLING_DIR_PER_CHAN];

uint32 sem_id; /* semaphore id for output pipe */
osal_id_t sem_id; /* semaphore id for output pipe */

const CF_Transaction_t *cur; /* current transaction during channel cycle */

Expand Down
2 changes: 1 addition & 1 deletion unit-test/utilities/cf_test_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ typedef struct
{
CF_CListNode_t *start;
CF_CListFn_t fn;
int32 context_fd;
osal_id_t context_fd;
int32 context_result;
int32 context_counter;
} CF_CList_Traverse_TRAV_ARG_T_context_t;
Expand Down

0 comments on commit d04e98c

Please sign in to comment.