Commit Graph

19 Commits

Author SHA1 Message Date
kpetersn e56f0585ba Changed XXX_init argument from void * to int. Some drivers fail to build. 2018-10-10 10:26:19 -05:00
Mark Rivers c6e655d8b3 Merge branch 'master' of github.com:epics-modules/motor 2018-09-08 14:04:29 -05:00
Mark Rivers 58354556aa Fixed soft_init: it is passed an int, not a (void *). 2018-09-08 14:04:15 -05:00
Mark Rivers ee9fca1dc3 Fixes for problems that showed up in base 7.0.
- It was using the value of mr->[link]->value.constantStr and mr->[link]->value.pv_link.pvname without checking the link types.
  This was incorrect, and led to errors because constantStr no longer has a defined value if the link type is not CONSTANT.
  Changed so that it only accesses these union fields if the link is the correct type.
- It did not check if pv_link.pvname was NULL before calling CA functions, though now that we check the link type perhaps this cannot occur.
- It did not lock the motor record before accessing the fields.
- Added Debug calls to show the link types and values.
2018-09-08 12:44:59 -05:00
Torsten Bögershausen 532afdc5a0 Remove all lines with svn keywords
They have no meaning in Git, are not updated and may cause unwanted diffs when
otherwise nothing is changed in a file
2015-11-23 08:23:12 +01:00
Ron Sluiter fc2b02582e Reformat from tabs to spaces; no code changes. 2015-03-13 19:11:14 +00:00
Ron Sluiter cf5626ad21 Fix header keywords for svn. 2010-03-25 16:50:30 +00:00
Ron Sluiter d657dda679 64-bit compatibility. 2008-03-14 20:23:45 +00:00
Peter Denison 4e83896390 Fix behaviour of motorUtil in the face of incorrect prefix. Now does not
call ca_task_exit() unless it is ending the task.
Do not use epicsThreadSuspendSelf(), but instead wait on an event, in
    soft_motor_task() and motorUtil_task(), to avoid suspended threads.
2007-09-19 15:57:41 +00:00
Peter Denison 624f38c298 Convert to linked lists to remove arbitrary maximum number of soft motors 2006-04-11 10:11:24 +00:00
Ron Sluiter 24d58354a8 Need bigger stack. 2005-03-30 19:18:16 +00:00
MarkRivers cc76ca1360 Changed from using hardcoded stack size to generic EPICS stack size 2005-03-30 00:47:49 +00:00
Ron Sluiter b772809206 EPICS R3.14.7 compatibility; needs explicit #include <stdlib.h>. 2004-12-20 21:26:52 +00:00
MarkRivers de02159d2a Increased stack size to fix overflow on PPC 2003-06-30 04:57:09 +00:00
Ron Sluiter b2a3906490 Update modification log. 2003-06-16 15:03:12 +00:00
Ron Sluiter 5ee7c7d22e Stack overflows on soft_motor_task. 2003-06-06 16:18:27 +00:00
Ron Sluiter b72ae9057e 3.14.2 compatible. 2003-05-19 17:14:03 +00:00
Ron Sluiter ad7ade15e0 Restore use of OK/ERROR for function return values. 2002-10-31 21:07:25 +00:00
Ron Sluiter 666480bcdf Converted to R3.14.x and C++. 2002-10-21 21:10:48 +00:00