mirror of
https://github.com/Binary-Coalescence/motorDSM.git
synced 2025-08-05 14:15:39 -05:00
Changed from using hardcoded stack size and priority to generic EPICS values
This commit is contained in:
@@ -523,7 +523,9 @@ STATIC int motor_init()
|
||||
|
||||
Debug(3, "motor_init: spawning motor task\n");
|
||||
|
||||
epicsThreadCreate((char *) "tMCB4B", 64, 5000, (EPICSTHREADFUNC) motor_task, (void *) &targs);
|
||||
epicsThreadCreate((char *) "tMCB4B", epicsThreadPriorityMedium,
|
||||
epicsThreadGetStackSize(epicsThreadStackMedium),
|
||||
(EPICSTHREADFUNC) motor_task, (void *) &targs);
|
||||
|
||||
return(OK);
|
||||
}
|
||||
|
Reference in New Issue
Block a user