Hi, the sintax is:
taskENTER_CRITICAL();
...
taskEXIT_CRITICAL();
It must work without including nothing in the main program, but in the libraries, you may need to include "DuinOS.h", as Chumbud said.
Hi, the sintax is:
taskENTER_CRITICAL();
...
taskEXIT_CRITICAL();
It must work without including nothing in the main program, but in the libraries, you may need to include "DuinOS.h", as Chumbud said.