SmartDSP implementation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SmartDSP implementation

2,352 Views
simil
Contributor I
I have a doubt regarding the implementation of "osEventDelete" function in SmartDSP OS.
The implementation is in the file {install}\StarCore_Support\SmartDSP\source\common\os_event.c.
One of the statements in the function(line number 79) is
"temp_task = (os_tcb_t *) osEventReady(deleted_event, 0);"

Since "osEventReady" returns the task_id of the task, shouldn't the statement be as follows

"temp_task = (os_tcb_t *) (g_all_tasks_array + osEventReady(deleted_event, 0));"
Labels (1)
0 Kudos
Reply
3 Replies

454 Views
simil
Contributor I
I am using code warrior v3.0 for starcore architecture.
0 Kudos
Reply

454 Views
CrasyCat
Specialist III
Hello
 
I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.
 
CrasyCat
0 Kudos
Reply

454 Views
Alban
Senior Contributor II
Hello and Welcome,

It would be appreciated if you were reading the rules to give right information for people to help you.

Please read:
  [IMPORTANT] When Asking about CODEWARRIOR !!!

Regards,
Alban.
0 Kudos
Reply