no exit in ConfigFunc

This commit is contained in:
anicic
2013-07-11 11:52:44 +00:00
parent a5ed2fd234
commit 9ea778a101

View File

@ -1,7 +1,7 @@
/* $Date: 2012/12/05 08:49:08 $ */ /* $Date: 2013/07/11 11:52:44 $ */
/* $Id: drvS7plcFW.c,v 1.4 2012/12/05 08:49:08 anicic Exp $ */ /* $Id: drvS7plcFW.c,v 1.5 2013/07/11 11:52:44 anicic Exp $ */
/* $Name: $ */ /* $Name: $ */
/* $Revision: 1.4 $ */ /* $Revision: 1.5 $ */
/* /*
* NOTE: s7plcFWwriteThread -is not used for writting (we write direct), * NOTE: s7plcFWwriteThread -is not used for writting (we write direct),
@ -69,7 +69,7 @@
#define RECONNECT_DELAY 10.0 /* delay before reconnect [s] */ #define RECONNECT_DELAY 10.0 /* delay before reconnect [s] */
static char cvsid[] __attribute__((unused)) = static char cvsid[] __attribute__((unused)) =
"$Id: drvS7plcFW.c,v 1.4 2012/12/05 08:49:08 anicic Exp $"; "$Id: drvS7plcFW.c,v 1.5 2013/07/11 11:52:44 anicic Exp $";
STATIC long s7plcFWIoReport(int level); STATIC long s7plcFWIoReport(int level);
STATIC long s7plcFWInit(); STATIC long s7plcFWInit();
@ -392,8 +392,6 @@ static void s7plcFWConfigureFunc (const iocshArgBuf *args)
int status = s7plcFWConfigure( int status = s7plcFWConfigure(
args[0].sval, args[1].sval, args[2].sval, args[3].sval, args[0].sval, args[1].sval, args[2].sval, args[3].sval,
args[4].ival, args[5].ival, args[6].ival, args[7].ival); args[4].ival, args[5].ival, args[6].ival, args[7].ival);
if (status) exit(1);
} }
static void s7plcFWRegister () static void s7plcFWRegister ()