浏览代码

stepper.h parity with 1.1.x

Scott Lahteine 7 年前
父节点
当前提交
c241da32e8
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      Marlin/src/module/stepper.h

+ 3
- 3
Marlin/src/module/stepper.h 查看文件

112
     #endif // LIN_ADVANCE
112
     #endif // LIN_ADVANCE
113
 
113
 
114
     static long acceleration_time, deceleration_time;
114
     static long acceleration_time, deceleration_time;
115
-    //unsigned long accelerate_until, decelerate_after, acceleration_rate, initial_rate, final_rate, nominal_rate;
116
-    static hal_timer_t acc_step_rate; // needed for deceleration start point
117
     static uint8_t step_loops, step_loops_nominal;
115
     static uint8_t step_loops, step_loops_nominal;
118
-    static hal_timer_t OCR1A_nominal;
116
+
117
+    static hal_timer_t OCR1A_nominal,
118
+                       acc_step_rate; // needed for deceleration start point
119
 
119
 
120
     static volatile long endstops_trigsteps[XYZ];
120
     static volatile long endstops_trigsteps[XYZ];
121
     static volatile long endstops_stepsTotal, endstops_stepsDone;
121
     static volatile long endstops_stepsTotal, endstops_stepsDone;

正在加载...
取消
保存