20 lines
658 B
INI
20 lines
658 B
INI
|
INCLUDE("app_common.cfg");
|
||
|
|
||
|
#include "app.h"
|
||
|
|
||
|
DOMAIN(TDOM_APP) {
|
||
|
CRE_TSK(MAIN_TASK, { TA_ACT, 0, main_task, TMIN_APP_TPRI + 1, STACK_SIZE, NULL });
|
||
|
|
||
|
// periodic task PRD_TSK_1 that will start automatically
|
||
|
//CRE_TSK(PRD_TSK_1, { TA_NULL, 0, periodic_task_1, PRIORITY_PRD_TSK_1, STACK_SIZE, NULL });
|
||
|
//EV3_CRE_CYC(CYC_PRD_TSK_1, { TA_STA, PRD_TSK_1, task_activator, PERIOD_PRD_TSK_1, 0 });
|
||
|
|
||
|
// periodic task PRD_TSK_2 that will not start automatically
|
||
|
//CRE_TSK(PRD_TSK_2, { TA_NULL, 0, periodic_task_2, PRIORITY_PRD_TSK_2, STACK_SIZE, NULL });
|
||
|
//EV3_CRE_CYC(CYC_PRD_TSK_2, { TA_NULL, PRD_TSK_2, task_activator, PERIOD_PRD_TSK_2, 0 });
|
||
|
|
||
|
}
|
||
|
|
||
|
ATT_MOD("app.o");
|
||
|
|