forked from epics_driver_modules/motorBase
Added extern "C" to iocsh registration code. Fixes #69
This commit is contained in:
1 parent
8966aeabf2
commit
57b8cdca25
1 file changed
+4
-1
@@ -1067,6 +1067,9 @@ extern "C" int Hytec8601Configure(const char *portName,
|
||||
return(asynSuccess);
|
||||
}
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
static const iocshArg Hy8601ConfigArg0 = {"portName", iocshArgString};
|
||||
static const iocshArg Hy8601ConfigArg1 = {"numAxes", iocshArgInt};
|
||||
static const iocshArg Hy8601ConfigArg2 = {"movingPollPeriod", iocshArgInt};
|
||||
@@ -1110,4 +1113,4 @@ static void Hytec8601Register(void)
|
||||
|
||||
epicsExportRegistrar(Hytec8601Register);
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user