This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

semaphore error

Other Parts Discussed in Thread: SYSBIOS

I am running C6657 and SYSBIOS 6.33.6.50.

I have rather a simple code with following lines:

Semaphore_Params mysemaphore_params;
Semaphore_Params_init(&mysemaphore_params);
mysemaphore_params.mode=Semaphore_Mode_BINARY;

but it gives following build errors:

for params_init function call

#148 declaration is incompatible with "void
ti_sysbios_knl_Semaphore_Params_init(ti_sysbios_knl_Semaphore_Params *)" (declared at line 453 of "C:/ti/
bios_6_33_06_50/packages/ti/sysbios/knl/Semaphore.h")

and for mode assignment:

- #148 declaration is incompatible with "ti_sysbios_knl_Semaphore_Params
mysemaphore_params" (declared at line 123)

How can I resolve this issue?