forked from epics_driver_modules/motorBase
Changed from using hardcoded stack size to generic EPICS stack size
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
FILENAME... devSoftAux.cc
|
||||
USAGE... Motor record device level support for Soft channel.
|
||||
|
||||
Version: $Revision: 1.7 $
|
||||
Modified By: $Author: sluiter $
|
||||
Last Modified: $Date: 2004-12-20 21:26:52 $
|
||||
Version: $Revision: 1.8 $
|
||||
Modified By: $Author: rivers $
|
||||
Last Modified: $Date: 2005-03-30 00:47:49 $
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -107,7 +107,8 @@ long soft_init(void *after)
|
||||
soft_motor_priority = epicsThreadGetPriority(dbCaTask_tid);
|
||||
soft_motor_priority -= 1;
|
||||
|
||||
soft_motor_id = epicsThreadCreate((char *) "soft_motor", soft_motor_priority, 10000,
|
||||
soft_motor_id = epicsThreadCreate((char *) "soft_motor", soft_motor_priority,
|
||||
epicsThreadGetStackSize(epicsThreadStackMedium),
|
||||
(EPICSTHREADFUNC) soft_motor_task, NULL);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user