I have a question. On your webpage you show the following example code:
#include "QuarkTS.h"
#include "MyAppTasks.h"
void interrupt OnTimerInterrupt(){ //hardware specific code
qISRHandler(); //
}
void main(void){
HardwareSetup(); //hardware specific code
Configure_Periodic_Timer_Interrupt_10ms(); // hardware specific code
qSetup(0.01, IdleTask_Callback, 10);
qCreateTask(HardwareCheckTask, HardwareCheckTask_Callback, 120, 0.25, PERIODIC, ENABLE, NULL);
qCreateTask(SignalAnalisysTask, SignalAnalisysTask_Callback, HIGH_Priority, 0.1, 200, ENABLE, NULL);
qCreateEventTask(CheckUserEventsTask, CheckUserEventsTask_Callback, MEDIUM_Priority, NULL);
qCreateTask(CommunicationTask, CommunicationTask_Callback, HIGH_Priority, TIME_INMEDIATE, PERIODIC, ENABLE, NULL);
qSchedule();
for(; ; ){}
}
Shouldn't the qSchedule() call be inside the for() loop at the end?