SmartDSP implementation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SmartDSP implementation

2,494 次查看
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));"
标签 (1)
0 项奖励
回复
3 回复数

596 次查看
simil
Contributor I
I am using code warrior v3.0 for starcore architecture.
0 项奖励
回复

596 次查看
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 项奖励
回复

596 次查看
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 项奖励
回复