Squelch warning mentioned in #11061 (#12676)

This commit is contained in:
Marcio Teixeira 2018-12-20 14:34:24 -07:00 committed by Scott Lahteine
parent 4c8a6eee7b
commit 8dcc28c9ae

View file

@ -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) {