stack size macro

This commit is contained in:
anicic
2012-12-05 08:49:08 +00:00
parent f9b9b5192f
commit a5ed2fd234

View File

@ -1,7 +1,7 @@
/* $Date: 2012/06/18 12:25:19 $ */ /* $Date: 2012/12/05 08:49:08 $ */
/* $Id: drvS7plcFW.c,v 1.3 2012/06/18 12:25:19 anicic Exp $ */ /* $Id: drvS7plcFW.c,v 1.4 2012/12/05 08:49:08 anicic Exp $ */
/* $Name: $ */ /* $Name: $ */
/* $Revision: 1.3 $ */ /* $Revision: 1.4 $ */
/* /*
* NOTE: s7plcFWwriteThread -is not used for writting (we write direct), * NOTE: s7plcFWwriteThread -is not used for writting (we write direct),
@ -63,12 +63,13 @@
#include <endian.h> #include <endian.h>
#endif #endif
#define STACK_SIZE 20000 /* io thread stack size */ /* #define STACK_SIZE 20000 */ /* io thread stack size */
#define STACK_SIZE epicsThreadGetStackSize(epicsThreadStackBig)
#define CONNECT_TIMEOUT 5.0 /* connect timeout [s] */ #define CONNECT_TIMEOUT 5.0 /* connect timeout [s] */
#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.3 2012/06/18 12:25:19 anicic Exp $"; "$Id: drvS7plcFW.c,v 1.4 2012/12/05 08:49:08 anicic Exp $";
STATIC long s7plcFWIoReport(int level); STATIC long s7plcFWIoReport(int level);
STATIC long s7plcFWInit(); STATIC long s7plcFWInit();