master/stepper.cpp
/**
 * Get a stepper's position in steps.
 */
Get a stepper's position in steps.
Get a stepper ' s position in steps .
long Stepper::position(AxisEnum axis) {
  CRITICAL_SECTION_START;
  long count_pos = count_position[axis];
  CRITICAL_SECTION_END;
  return count_pos;
}
long Stepper :: position ( AxisEnum axis ) { CRITICAL_SECTION_START ; long count_pos = count_position [ axis ] ; CRITICAL_SECTION_END ; return count_pos ; }
Get a stepper's position in steps.
Get a stepper ' s position in steps .