Fixed reversed move coming out of hold-flush. Look in planner.cpp / planner_reset() for fix.; removed some legacy +++++ comments

This commit is contained in:
Alden Hart
2017-02-13 13:41:23 -05:00
parent e9b6492dbf
commit e7fb4cd672
11 changed files with 39 additions and 42 deletions

View File

@@ -72,7 +72,7 @@ stat_t cm_arc_callback(cmMachine_t *_cm)
if (_cm->arc.run_state == BLOCK_INACTIVE) {
return (STAT_NOOP);
}
if (mp_planner_is_full(mp)) { //+++++
if (mp_planner_is_full(mp)) {
return (STAT_EAGAIN);
}
_cm->arc.theta += _cm->arc.segment_theta;