Can I call RTX-51 tiny function in my function that was called in my task? Example:
void function1 (void) { os_wait (...) ....... } void task0 (void) _task_ 0 { ..... function1(); ..... }
Yan can do this. When the function is reentrant, there is no problem (see: http://www.keil.com/support/docs/1861.htm) When the function is not reentrant, the linker will issue warning L15 and you need to proceed as explained in: http://www.keil.com/support/docs/2042.htm