Squelch warning mentioned in #11061 (#12676)

2.0.x
Marcio Teixeira 6 years ago committed by Scott Lahteine
parent 4c8a6eee7b
commit 8dcc28c9ae

@ -1598,8 +1598,10 @@ void Planner::synchronize() {
if (!changed_dir) return; if (!changed_dir) return;
#endif #endif
const bool positive[XYZ] = { da > 0, db > 0, dc > 0 }, const bool positive[XYZ] = { da > 0, db > 0, dc > 0 };
non_zero[XYZ] = { da != 0, db != 0, dc != 0 }; #ifdef BACKLASH_SMOOTHING_MM
const bool non_zero[XYZ] = { da != 0, db != 0, dc != 0 };
#endif
bool made_adjustment = false; bool made_adjustment = false;
LOOP_XYZ(i) { LOOP_XYZ(i) {

Loading…
Cancel
Save