src/occ_405/rtls/test/main.c
// Function Specification
//
// Name: write_task_flags
//
// Description:
// Utility writes the flags in the specified task to the specified value.
// Note: This overwrites the prior flags value for the given task.
//
// End Function Specification
Function Specification
Name: write_task_flags

Utility writes the flags in the specified task to the specified value.
Note: This overwrites the prior flags value for the given task.

End Function Specification
Function Specification Name : write_task_flags Utility writes the flags in the specified task to the specified value . Note : This overwrites the prior flags value for the given task . End Function Specification
void write_task_flags(task_id_t i_task_id, uint32_t new_flags)
{
    if( i_task_id >= TASK_END ) {
        printf("Warning: %s: write_task_flags: Invalid task ID: %02x.  Not overwriting flags.\n", __FILE__, i_task_id);
    }
    else {
        G_task_table[i_task_id].flags = new_flags;
    }
}
void write_task_flags ( task_id_t i_task_id , uint32_t new_flags ) { if ( i_task_id >= TASK_END ) { printf ( " \n " , __FILE__ , i_task_id ) ; } else { G_task_table [ i_task_id ] . flags = new_flags ; } }
Function Specification
Name: write_task_flags
Function Specification Name : write_task_flags