no exit in ConfigFunc
This commit is contained in:
10
drvS7plcFW.c
10
drvS7plcFW.c
@ -1,7 +1,7 @@
|
||||
/* $Date: 2013/07/11 11:52:44 $ */
|
||||
/* $Id: drvS7plcFW.c,v 1.5 2013/07/11 11:52:44 anicic Exp $ */
|
||||
/* $Date: 2013/07/11 12:43:21 $ */
|
||||
/* $Id: drvS7plcFW.c,v 1.6 2013/07/11 12:43:21 anicic Exp $ */
|
||||
/* $Name: $ */
|
||||
/* $Revision: 1.5 $ */
|
||||
/* $Revision: 1.6 $ */
|
||||
|
||||
/*
|
||||
* NOTE: s7plcFWwriteThread -is not used for writting (we write direct),
|
||||
@ -69,7 +69,7 @@
|
||||
#define RECONNECT_DELAY 10.0 /* delay before reconnect [s] */
|
||||
|
||||
static char cvsid[] __attribute__((unused)) =
|
||||
"$Id: drvS7plcFW.c,v 1.5 2013/07/11 11:52:44 anicic Exp $";
|
||||
"$Id: drvS7plcFW.c,v 1.6 2013/07/11 12:43:21 anicic Exp $";
|
||||
|
||||
STATIC long s7plcFWIoReport(int level);
|
||||
STATIC long s7plcFWInit();
|
||||
@ -389,7 +389,7 @@ static const iocshArg * const s7plcFWConfigureArgs[] = {
|
||||
static const iocshFuncDef s7plcFWConfigureDef = { "s7plcFWConfigure", 8, s7plcFWConfigureArgs };
|
||||
static void s7plcFWConfigureFunc (const iocshArgBuf *args)
|
||||
{
|
||||
int status = s7plcFWConfigure(
|
||||
(void) s7plcFWConfigure(
|
||||
args[0].sval, args[1].sval, args[2].sval, args[3].sval,
|
||||
args[4].ival, args[5].ival, args[6].ival, args[7].ival);
|
||||
}
|
||||
|
Reference in New Issue
Block a user