Browse Source

Squelch warning mentioned in #11061 (#12676)

pull/1/head
Marcio Teixeira 6 years ago
committed by Scott Lahteine
parent
commit
8dcc28c9ae
  1. 6
      Marlin/src/module/planner.cpp

6
Marlin/src/module/planner.cpp

@ -1598,8 +1598,10 @@ void Planner::synchronize() {
if (!changed_dir) return;
#endif
const bool positive[XYZ] = { da > 0, db > 0, dc > 0 },
non_zero[XYZ] = { da != 0, db != 0, dc != 0 };
const bool positive[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;
LOOP_XYZ(i) {

Loading…
Cancel
Save