rendered paste bodyIndex: emc/nml_intf/emcglb.h
===================================================================
RCS file: /cvs/emc2/src/emc/nml_intf/emcglb.h,v
retrieving revision 1.16
diff -u -p -r1.16 emcglb.h
--- emc/nml_intf/emcglb.h 12 Nov 2007 20:08:00 -0000 1.16
+++ emc/nml_intf/emcglb.h 23 Jan 2008 14:41:27 -0000
@@ -20,15 +20,16 @@
#include "config.h" /* LINELEN */
#include "math.h" /* M_PI */
+#include "emcmotcfg.h" /* EMCMOT_MAX_DIO */
#ifdef __cplusplus
extern "C" {
#endif
-#define EMC_AXIS_MAX 9
+#define EMC_AXIS_MAX EMCMOT_MAX_AXIS
-#define EMC_MAX_DIO 4
-#define EMC_MAX_AIO 4
+#define EMC_MAX_DIO EMCMOT_MAX_DIO
+#define EMC_MAX_AIO EMCMOT_MAX_AIO
extern char EMC_INIFILE[LINELEN];