64-bit compatibility.

This commit is contained in:
Ron Sluiter
2008-03-14 20:23:45 +00:00
parent 60e2bf90ab
commit d657dda679
34 changed files with 144 additions and 149 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ static struct board_stat **MCB4B_cards;
STATIC long MCB4B_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
Debug(5, "MCB4B_init: entry\n");
if (after == 0)
+4 -4
View File
@@ -2,9 +2,9 @@
FILENAME... devSPiiPlus.cc
USAGE... Motor record device level support for ACS Tech80 SPiiPlus
Version: $Revision: 1.1 $
Modified By: $Author: sullivan $
Last Modified: $Date: 2006-05-19 16:39:45 $
Version: $Revision: 1.2 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2008-03-14 20:07:43 $
*/
/*
@@ -109,7 +109,7 @@ static struct board_stat **SPiiPlus_cards;
STATIC long SPiiPlus_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -2,9 +2,9 @@
FILENAME... devPmac.cc
USAGE... Device level support for Delta Tau PMAC.
Version: $Revision: 1.4 $
Version: $Revision: 1.5 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2004-12-20 21:05:19 $
Last Modified: $Date: 2008-03-14 20:09:01 $
*/
/*
@@ -102,7 +102,7 @@ static const char errmsg[] = {"\n\n!!!ERROR!!! - Oms driver uninitialized.\n"};
static long Pmac_init(void *arg)
{
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (*(Pmac_access.init_indicator) == NO)
{
+4 -4
View File
@@ -3,9 +3,9 @@ FILENAME... devMCDC2805.cc
USAGE... Motor record device level support for Intelligent Motion
Systems, Inc. MCDC2805 series of controllers.
Version: $Revision: 1.2 $
Modified By: $Author: rivers $
Last Modified: $Date: 2005-11-04 23:05:34 $
Version: $Revision: 1.3 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2008-03-14 20:09:24 $
*/
/*
@@ -109,7 +109,7 @@ static struct board_stat **MCDC2805_cards;
STATIC long MCDC2805_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -3,9 +3,9 @@ FILENAME... devIM483PL.cc
USAGE... Motor record device level support for Intelligent Motion
Systems, Inc. IM483(I/IE).
Version: $Revision: 1.5 $
Version: $Revision: 1.6 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2004-12-20 21:06:43 $
Last Modified: $Date: 2008-03-14 20:10:01 $
*/
/*
@@ -113,7 +113,7 @@ static struct board_stat **IM483PL_cards;
STATIC long IM483PL_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -3,9 +3,9 @@ FILENAME... devIM483SM.cc
USAGE... Motor record device level support for Intelligent Motion
Systems, Inc. IM483(I/IE).
Version: $Revision: 1.4 $
Version: $Revision: 1.5 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2004-12-20 21:06:43 $
Last Modified: $Date: 2008-03-14 20:10:01 $
*/
/*
@@ -113,7 +113,7 @@ static struct board_stat **IM483SM_cards;
STATIC long IM483SM_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -3,9 +3,9 @@ FILENAME... devMDrive.cc
USAGE... Motor record device level support for Intelligent Motion
Systems, Inc. MDrive series of controllers.
Version: $Revision: 1.6 $
Version: $Revision: 1.7 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2005-04-14 20:31:05 $
Last Modified: $Date: 2008-03-14 20:10:01 $
*/
/*
@@ -115,7 +115,7 @@ static struct board_stat **MDrive_cards;
STATIC long MDrive_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -2,9 +2,9 @@
FILENAME... devSC800.cc
USAGE... Motor record device level support for Kohzu SC800 motor controller.
Version: $Revision: 1.1 $
Version: $Revision: 1.2 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2007-11-27 18:01:17 $
Last Modified: $Date: 2008-03-14 20:10:22 $
*/
/*
@@ -111,7 +111,7 @@ static struct board_stat **SC800_cards;
static long SC800_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -2,9 +2,9 @@
FILENAME... devMXmotor.cc
USAGE... Motor record device level support for MX device driver.
Version: $Revision: 1.5 $
Version: $Revision: 1.6 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2004-12-20 21:07:26 $
Last Modified: $Date: 2008-03-14 20:12:06 $
*/
/*
@@ -91,7 +91,7 @@ static const char errmsg[] = {"\n\n!!!ERROR!!! - MX driver uninitialized.\n"};
/* initialize device support for MX motor */
static long MXmotor_init(void *after)
{
int before_after = (int) after;
int before_after = (after == 0) ? 0 : 1;
if (*(MXmotor_access.init_indicator) == NO)
{
+1 -1
View File
@@ -115,7 +115,7 @@ static struct board_stat **PM304_cards;
STATIC long PM304_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+1 -1
View File
@@ -97,7 +97,7 @@ static struct board_stat **Micos_cards;
static long Micos_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
Debug(5, "Micos_init: entry\n");
if (after == 0)
+3 -3
View File
@@ -3,9 +3,9 @@ FILENAME... devMVP2001.cc
USAGE... Motor record device level support for MicroMo
MVP 2001 B02 (Linear, RS-485).
Version: $Revision: 1.2 $
Version: $Revision: 1.3 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2004-12-20 21:09:09 $
Last Modified: $Date: 2008-03-14 20:13:20 $
*/
/*
@@ -158,7 +158,7 @@ static struct board_stat **MVP2001_cards;
static long MVP2001_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+1 -1
View File
@@ -114,7 +114,7 @@ static struct board_stat **PMNC87xx_cards;
STATIC long PMNC87xx_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -2,9 +2,9 @@
FILENAME... devESP300.cc
USAGE... Motor record device level support for Newport ESP300.
Version: $Revision: 1.3 $
Version: $Revision: 1.4 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2004-12-20 21:10:53 $
Last Modified: $Date: 2008-03-14 20:17:14 $
*/
/*
@@ -109,7 +109,7 @@ static struct board_stat **ESP300_cards;
static long ESP300_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -2,9 +2,9 @@
FILENAME... devMM3000.cc
USAGE... Motor record device level support for Newport MM3000.
Version: $Revision: 1.3 $
Version: $Revision: 1.4 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2004-12-20 21:10:53 $
Last Modified: $Date: 2008-03-14 20:17:14 $
*/
/*
@@ -113,7 +113,7 @@ static struct board_stat **MM3000_cards;
STATIC long MM3000_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -2,9 +2,9 @@
FILENAME... devMM4000.cc
USAGE... Motor record device level support for Newport MM4000.
Version: $Revision: 1.3 $
Version: $Revision: 1.4 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2004-12-20 21:10:53 $
Last Modified: $Date: 2008-03-14 20:17:14 $
*/
/*
@@ -115,7 +115,7 @@ static struct board_stat **MM4000_cards;
STATIC long MM4000_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -3,9 +3,9 @@ FILENAME... devPM500.cc
USAGE... Motor record device level support for the Newport PM500 motor
controller.
Version: $Revision: 1.2 $
Version: $Revision: 1.3 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2004-12-20 21:10:53 $
Last Modified: $Date: 2008-03-14 20:17:14 $
*/
/*
@@ -114,7 +114,7 @@ static struct board_stat **PM500_cards;
STATIC long PM500_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -2,9 +2,9 @@
FILENAME... devMAXV.cc
USAGE... Device level support for OMS MAXv model.
Version: $Revision: 1.2 $
Version: $Revision: 1.3 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2004-12-20 21:11:53 $
Last Modified: $Date: 2008-03-14 20:19:06 $
*/
/*
@@ -67,7 +67,7 @@ static const char errmsg[] = {"\n\n!!!ERROR!!! - Oms MAXv driver uninitialized.\
static long MAXv_init(void *arg)
{
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (*(MAXv_access.init_indicator) == NO)
{
+3 -3
View File
@@ -2,9 +2,9 @@
FILENAME... devOms.cc
USAGE... Device level support for OMS VME8 and VME44 models.
Version: $Revision: 1.7 $
Version: $Revision: 1.8 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2006-01-24 20:01:37 $
Last Modified: $Date: 2008-03-14 20:19:06 $
*/
/*
@@ -87,7 +87,7 @@ static const char errmsg[] = {"\n\n!!!ERROR!!! - Oms driver uninitialized.\n"};
static long oms_init(void *arg)
{
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (*(oms_access.init_indicator) == NO)
{
+4 -3
View File
@@ -2,9 +2,9 @@
FILENAME... devOms58.c
USAGE... Motor record device level support for OMS VME58.
Version: $Revision: 1.6 $
Version: $Revision: 1.7 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2006-01-24 20:01:37 $
Last Modified: $Date: 2008-03-14 20:19:06 $
*/
/*
@@ -86,7 +86,8 @@ static const char errmsg[] = {"\n\n!!!ERROR!!! - Oms58 driver uninitialized.\n"}
static long oms_init(void *arg)
{
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (*(oms58_access.init_indicator) == NO)
{
errlogSevPrintf(errlogMinor, "%s", errmsg);
+45 -52
View File
@@ -1,16 +1,16 @@
/*
FILENAME... devOmsPC68.c
USAGE... Motor record device level support for OMS VME58.
FILENAME... devOmsPC68.c
USAGE... Motor record device level support for OMS VME58.
Version: 1.5
Modified By: sluiter
Last Modified: 2004/12/20 21:11:53
Version: $Revision: 1.2 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2008-03-14 20:19:06 $
*/
/*
* Original Author: Jim Kowalkowski
* Current Author: Joe Sullivan
* Date: 11/14/94
* Original Author: Brian Tieman
* Current Author: Ron Sluiter
* Date: 04/24/06
*
* Experimental Physics and Industrial Control System (EPICS)
*
@@ -22,44 +22,39 @@ Last Modified: 2004/12/20 21:11:53
* and (W-31-109-ENG-38) at Argonne National Laboratory.
*
* Initial development by:
* The Controls and Automation Group (AT-8)
* Ground Test Accelerator
* Accelerator Technology Division
* Los Alamos National Laboratory
* The Controls and Automation Group (AT-8)
* Ground Test Accelerator
* Accelerator Technology Division
* Los Alamos National Laboratory
*
* Co-developed with
* The Controls and Computing Group
* Accelerator Systems Division
* Advanced Photon Source
* Argonne National Laboratory
* The Controls and Computing Group
* Accelerator Systems Division
* Advanced Photon Source
* Argonne National Laboratory
*
* Modification Log:
* -----------------
* .01 01-18-93 jbk initialized
* .02 11-14-94 jps copy devOMS.c and modify to point to vme58 driver
* .03 03-19-96 tmm v1.10: modified encoder-ratio calculation
* .04 06-20-96 jps allow for bumpless-reboot on position
* .04a 02-19-97 tmm fixed for EPICS 3.13
* .05 06-16-03 rls Converted to R3.14.x.
* .01 04-25-06 copied from devOms.cc
*/
#include <alarm.h>
#include <callback.h>
#include <dbDefs.h>
#include <dbAccess.h>
#include <dbCommon.h>
#include <devSup.h>
#include <drvSup.h>
#include <recSup.h>
#include <errlog.h>
#include <alarm.h>
#include <callback.h>
#include <dbDefs.h>
#include <dbAccess.h>
#include <dbCommon.h>
#include <devSup.h>
#include <drvSup.h>
#include <recSup.h>
#include <errlog.h>
#include "motorRecord.h"
#include "motor.h"
#include "drvOmsPC68Com.h"
#include "devOmsCom.h"
#include "motorRecord.h"
#include "motor.h"
#include "drvOmsPC68Com.h"
#include "devOmsCom.h"
#include "epicsExport.h"
#include "epicsExport.h"
#define STATIC static
@@ -81,9 +76,7 @@ struct motor_dset devOmsPC68 =
oms_end_trans
};
extern "C" {
epicsExportAddress(dset,devOmsPC68);
}
extern "C" {epicsExportAddress(dset,devOmsPC68);}
STATIC struct board_stat **oms_cards;
STATIC const char errmsg[] = {"\n\n!!!ERROR!!! - OmsPC68 driver uninitialized.\n"};
@@ -92,33 +85,33 @@ STATIC const char errmsg[] = {"\n\n!!!ERROR!!! - OmsPC68 driver uninitialized.\n
STATIC long oms_init(void *arg)
{
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (*(OmsPC68_access.init_indicator) == NO)
if (*(OmsPC68_access.init_indicator) == NO)
{
errlogSevPrintf(errlogMinor, "%s", errmsg);
return(ERROR);
errlogSevPrintf(errlogMinor, "%s", errmsg);
return(ERROR);
}
else
return (motor_init_com (after, OmsPC68_num_cards, &OmsPC68_access, &oms_cards));
return(motor_init_com (after, OmsPC68_num_cards, &OmsPC68_access, &oms_cards));
}
//__________________________________________________________________________________________
STATIC long oms_init_record(void *arg)
{
struct motorRecord *mr = (struct motorRecord *) arg;
struct motorRecord *mr = (struct motorRecord *) arg;
return (motor_init_record_com(mr, OmsPC68_num_cards, &OmsPC68_access, oms_cards));
return(motor_init_record_com(mr, OmsPC68_num_cards, &OmsPC68_access, oms_cards));
}
//__________________________________________________________________________________________
STATIC long oms_start_trans(struct motorRecord *mr)
{
struct motor_trans *trans;
long rtnval;
struct motor_trans *trans;
long rtnval;
rtnval = motor_start_trans_com(mr, oms_cards);
/* Initialize a STOP_AXIS command termination string pointer. */
trans = (struct motor_trans *) mr->dpvt;
@@ -132,11 +125,11 @@ STATIC RTN_STATUS oms_end_trans(struct motorRecord *mr)
{
if (*(OmsPC68_access.init_indicator) == NO)
{
errlogSevPrintf(errlogMinor, "%s", errmsg);
return(ERROR);
errlogSevPrintf(errlogMinor, "%s", errmsg);
return(ERROR);
}
else
return(motor_end_trans_com(mr, &OmsPC68_access));
return(motor_end_trans_com(mr, &OmsPC68_access));
}
//__________________________________________________________________________________________
+4 -4
View File
@@ -2,9 +2,9 @@
FILENAME... devEMC18011.cc
USAGE... Motor record device level support for Parker Compumotor drivers
Version: $Revision: 1.3 $
Modified By: $Author: sullivan $
Last Modified: $Date: 2006-11-02 21:05:56 $
Version: $Revision: 1.4 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2008-03-14 20:19:25 $
*/
/*
@@ -110,7 +110,7 @@ static struct board_stat **EMC18011_cards;
STATIC long EMC18011_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+4 -4
View File
@@ -2,9 +2,9 @@
FILENAME... devPC6K.cc
USAGE... Motor record device level support for Parker Compumotor drivers
Version: $Revision: 1.3 $
Modified By: $Author: sullivan $
Last Modified: $Date: 2007-01-16 17:15:31 $
Version: $Revision: 1.4 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2008-03-14 20:19:43 $
*/
/*
@@ -109,7 +109,7 @@ static struct board_stat **PC6K_cards;
STATIC long PC6K_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+4 -4
View File
@@ -3,9 +3,9 @@ FILENAME... devPIJEDS.cc
USAGE... Motor record device level support for Physik Instrumente (PI)
GmbH & Co. E-516 motor controller.
Version: $Revision: 1.1 $
Modified By: $Author: sullivan $
Last Modified: $Date: 2007-06-14 15:56:59 $
Version: $Revision: 1.2 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2008-03-14 20:20:03 $
*/
/*
@@ -107,7 +107,7 @@ static struct board_stat **PIJEDS_cards;
static long PIJEDS_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+1 -1
View File
@@ -105,7 +105,7 @@ static struct board_stat **PIC630_cards;
static long PIC630_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
Debug(5, "PIC630_init: entry\n");
if (after == 0)
+4 -4
View File
@@ -3,9 +3,9 @@ FILENAME... devPIC662.cc
USAGE... Motor record device level support for Physik Instrumente (PI)
GmbH & Co. C-844 motor controller.
Version: $Revision: 1.1 $
Modified By: $Author: sullivan $
Last Modified: $Date: 2006-04-14 20:34:42 $
Version: $Revision: 1.2 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2008-03-14 20:21:36 $
*/
/*
@@ -107,7 +107,7 @@ static struct board_stat **PIC662_cards;
static long PIC662_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -3,9 +3,9 @@ FILENAME... devPIC844.cc
USAGE... Motor record device level support for Physik Instrumente (PI)
GmbH & Co. C-844 motor controller.
Version: $Revision: 1.5 $
Version: $Revision: 1.6 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2005-10-04 19:47:12 $
Last Modified: $Date: 2008-03-14 20:21:36 $
*/
/*
@@ -107,7 +107,7 @@ static struct board_stat **PIC844_cards;
static long PIC844_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -3,9 +3,9 @@ FILENAME... devPIC848.cc
USAGE... Motor record device level support for Physik Instrumente (PI)
GmbH & Co. C-848 motor controller.
Version: $Revision: 1.2 $
Version: $Revision: 1.3 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2007-10-17 19:54:51 $
Last Modified: $Date: 2008-03-14 20:21:37 $
*/
/*
@@ -111,7 +111,7 @@ static struct board_stat **PIC848_cards;
static long PIC848_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+1 -1
View File
@@ -86,7 +86,7 @@ static struct board_stat **PIC862_cards;
static long PIC862_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+4 -4
View File
@@ -3,9 +3,9 @@ FILENAME... devPIE516.cc
USAGE... Motor record device level support for Physik Instrumente (PI)
GmbH & Co. E-516 motor controller.
Version: $Revision: 1.1 $
Modified By: $Author: sullivan $
Last Modified: $Date: 2007-03-30 20:01:05 $
Version: $Revision: 1.2 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2008-03-14 20:21:37 $
*/
/*
@@ -108,7 +108,7 @@ static struct board_stat **PIE516_cards;
static long PIE516_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+4 -4
View File
@@ -3,9 +3,9 @@ FILENAME... devPIE710.cc
USAGE... Motor record device level support for Physik Instrumente (PI)
GmbH & Co. E-710 motor controller.
Version: $Revision: 1.2 $
Modified By: $Author: sullivan $
Last Modified: $Date: 2006-12-18 17:42:56 $
Version: $Revision: 1.3 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2008-03-14 20:21:36 $
*/
/*
@@ -108,7 +108,7 @@ static struct board_stat **PIE710_cards;
static long PIE710_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+3 -3
View File
@@ -2,9 +2,9 @@
FILENAME... devSmartMotor.cc
USAGE... Motor record driver level support for Animatics Corporation SmartMotors.
Version: $Revision: 1.1 $
Version: $Revision: 1.2 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2007-05-08 14:45:16 $
Last Modified: $Date: 2008-03-14 20:21:56 $
*/
/*
@@ -132,7 +132,7 @@ static struct board_stat **SmartMotor_cards;
static long SmartMotor_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{
+5 -4
View File
@@ -2,9 +2,9 @@
FILENAME... devSoftAux.cc
USAGE... Motor record device level support for Soft channel.
Version: $Revision: 1.11 $
Modified By: $Author: peterd $
Last Modified: $Date: 2007-09-19 15:57:41 $
Version: $Revision: 1.12 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2008-03-14 20:23:27 $
*/
/*
@@ -79,7 +79,8 @@ STATIC void soft_rinp(struct event_handler_args args)
long soft_init(void *after)
{
int before_after = (int) after;
int before_after = (after == 0) ? 0 : 1;
if (before_after == 0)
{
epicsThreadId dbCaTask_tid;
+4 -4
View File
@@ -3,9 +3,9 @@ FILENAME... devMDT695.cc
USAGE... Motor record device level support for ThorLabs Piezo Control
Module (MDT695)
Version: $Revision: 1.1 $
Modified By: $Author: sullivan $
Last Modified: $Date: 2006-09-27 20:32:37 $
Version: $Revision: 1.2 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2008-03-14 20:23:45 $
*/
/*
@@ -110,7 +110,7 @@ static struct board_stat **MDT695_cards;
STATIC long MDT695_init(void *arg)
{
long rtnval;
int after = (int) arg;
int after = (arg == 0) ? 0 : 1;
if (after == 0)
{