1
0
forked from me/IronOS
This commit is contained in:
Ben V. Brown
2020-07-22 22:59:20 +10:00
parent 4441a5ca93
commit 1f6dfe5da5

View File

@@ -68,10 +68,10 @@ int main(void) {
GUITaskStackSize, GUITaskBuffer, &GUITaskControlBlock);
GUITaskHandle = osThreadCreate(osThread(GUITask), NULL);
// /* definition and creation of PIDTask */
// osThreadStaticDef(PIDTask, startPIDTask, osPriorityRealtime, 0,
// PIDTaskStackSize, PIDTaskBuffer, &PIDTaskControlBlock);
// PIDTaskHandle = osThreadCreate(osThread(PIDTask), NULL);
/* definition and creation of PIDTask */
osThreadStaticDef(PIDTask, startPIDTask, osPriorityRealtime, 0,
PIDTaskStackSize, PIDTaskBuffer, &PIDTaskControlBlock);
PIDTaskHandle = osThreadCreate(osThread(PIDTask), NULL);
osThreadStaticDef(MOVTask, startMOVTask, osPriorityNormal, 0,
MOVTaskStackSize, MOVTaskBuffer, &MOVTaskControlBlock);