I declered the following task :
bios.TSK.create("TSK0");
bios.TSK.instance("TSK0").order = 3;
bios.TSK.instance("TSK0").fxn = prog.extern("task0");
the following is the task implementation :
for(;;)
{
fp_flag.start_fp_process= TRUE;
fp_state_machine();
LOG_printf(&trace, "FP TASK");
TSK_sleep(1000);//sleep for logger
};
i put a breakpoint inside the for() loop and it gets there only once. why is that? shouldn't it run forever? (my program has only one task