3.14.2 compatible.

This commit is contained in:
Ron Sluiter
2003-05-19 17:14:03 +00:00
parent 51b7536cc2
commit b72ae9057e
3 changed files with 12 additions and 7 deletions
+2
View File
@@ -15,6 +15,8 @@ LIBRARY_IOC = softMotor
# The following is required for the Soft Channel (i.e., MotorSoft) device driver.
SRCS += devSoft.cc devSoftAux.cc
softMotor_LIBS += $(EPICS_BASE_IOC_LIBS)
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE
+7 -4
View File
@@ -1,10 +1,10 @@
/*
FILENAME... devSoft.c
FILENAME... devSoft.cc
USAGE... Motor record device level support for Soft channel.
Version: $Revision: 1.3 $
Version: $Revision: 1.4 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2003-02-14 15:00:21 $
Last Modified: $Date: 2003-05-19 17:14:03 $
*/
/*
@@ -57,6 +57,8 @@ NOTES...
#include "motor.h"
#include "devSoft.h"
#include "epicsExport.h"
#define STATIC static
STATIC CALLBACK_VALUE update(struct motorRecord *);
@@ -68,13 +70,14 @@ STATIC void soft_process(struct motorRecord *);
struct motor_dset devMotorSoft =
{
{8, NULL, soft_init, soft_init_record, NULL},
{8, NULL, (DEVSUPFUN) soft_init, (DEVSUPFUN) soft_init_record, NULL},
update,
start,
build,
end
};
epicsExportAddress(dset,devMotorSoft);
STATIC CALLBACK_VALUE update(struct motorRecord *mr)
{
+3 -3
View File
@@ -1,10 +1,10 @@
/*
FILENAME... devSoftAux.c
FILENAME... devSoftAux.cc
USAGE... Motor record device level support for Soft channel.
Version: $Revision: 1.2 $
Version: $Revision: 1.3 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2002-10-31 21:06:24 $
Last Modified: $Date: 2003-05-19 17:14:03 $
*/
/*