ソースを参照

Update refresh_positioning - no need for obj ref

Scott Lahteine 8年前
コミット
f83369b79c
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      Marlin/planner.cpp

+ 1
- 1
Marlin/planner.cpp ファイルの表示

@@ -1182,7 +1182,7 @@ void Planner::reset_acceleration_rates() {
1182 1182
 
1183 1183
 // Recalculate position, steps_to_mm if axis_steps_per_mm changes!
1184 1184
 void Planner::refresh_positioning() {
1185
-  LOOP_XYZE(i) planner.steps_to_mm[i] = 1.0 / planner.axis_steps_per_mm[i];
1185
+  LOOP_XYZE(i) steps_to_mm[i] = 1.0 / axis_steps_per_mm[i];
1186 1186
   #if ENABLED(DELTA) || ENABLED(SCARA)
1187 1187
     inverse_kinematics(current_position);
1188 1188
     set_position_mm(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS], current_position[E_AXIS]);

読み込み中…
キャンセル
保存