We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc67e5f commit 9b5e9dcCopy full SHA for 9b5e9dc
1 file changed
src/emc/nml_intf/canon.hh
@@ -19,6 +19,7 @@
19
#include "emcpos.h"
20
#include "emctool.h"
21
#include "canon_position.hh"
22
+#include "emcmotcfg.h" // Just for EMCMOT_NUM_SPINDLES
23
24
/*
25
This is the header file that all applications that use the
@@ -168,7 +169,7 @@ typedef struct CanonConfig_t {
168
169
double naivecamTolerance;
170
int feed_mode;
171
int spindle_num; //current spindle for spindle-synch motion
- CanonSpindle_t spindle[8]; // EMCMOT_MAX_SPINDLES not defined in this context
172
+ CanonSpindle_t spindle[EMCMOT_MAX_SPINDLES];
173
174
/* Prepped tool is saved here */
175
// int preppedTool;
0 commit comments