Commit 10b3d750 authored by flechsig's avatar flechsig
Browse files

change constructor to compile with AD3

parent 473bf541
// Time-stamp: <14 Mar 19 12:41:16 flechsig>
// Time-stamp: <2021-10-15 15:05:24 flechsig>
/*
* NDPluginXGI.cpp
*
......@@ -435,13 +435,17 @@ NDPluginXGI::NDPluginXGI(const char *portName, int queueSize, int blockingCallba
* Set autoconnect to 1. priority and stacksize can be 0, which will use defaults. */
: NDPluginDriver(portName, queueSize, blockingCallbacks,
NDArrayPort, NDArrayAddr, XGI_MAX_OUTPUT,
#if ADCORE_VERSION < 3
#if ADCORE_VERSION < 3
NUM_NDPLUGIN_XGI_PARAMS,
#endif
#endif
maxBuffers, maxMemory,
asynFloat64ArrayMask | asynGenericPointerMask,
asynFloat64ArrayMask | asynGenericPointerMask,
ASYN_CANBLOCK | ASYN_MULTIDEVICE, 1, priority, stackSize)
ASYN_CANBLOCK | ASYN_MULTIDEVICE, 1, priority, stackSize
#if ADCORE_VERSION >= 3
, 1 /* single thread */, true /* compressionAware */
#endif
)
{
/* Create params */
createParam(XGIPluginAlgorithmString, asynParamInt32, &XGIPluginAlgorithm);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment