This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX51-full - os_wait for ever

Hello all.
Can anyone help me with the following one?
My target is working under RTX51-full. I have an interrupt function (void mc12comm() interrupt 0 using 3) that calls other regular function, and this regular function creates a task. The task is enveloped with an endless loop (while 1) and at the end of the loop there's: os_wait(K_TMO, _2_SEC, 0);
I have about 5 tasks in the code and all of them works fine but in this task the program execute the os_wait function forever and not for 2 seconds as required.
Is it because the interrupt function calls regular function that creates a task?

Please help,
Reuven

Parents Reply Children
No data