Reference op with variable name

This commit is contained in:
Scott Lahteine
2017-05-28 11:33:22 -05:00
parent 71367fd518
commit a3645ec921
8 changed files with 38 additions and 38 deletions

View File

@ -1510,7 +1510,7 @@ void Planner::sync_from_steppers() {
/**
* Setters for planner position (also setting stepper position).
*/
void Planner::set_position_mm(const AxisEnum axis, const float& v) {
void Planner::set_position_mm(const AxisEnum axis, const float &v) {
#if ENABLED(DISTINCT_E_FACTORS)
const uint8_t axis_index = axis + (axis == E_AXIS ? active_extruder : 0);
last_extruder = active_extruder;