Bladeren bron

stepper.h parity with 1.1.x

Scott Lahteine 7 jaren geleden
bovenliggende
commit
c241da32e8
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3
    3
      Marlin/src/module/stepper.h

+ 3
- 3
Marlin/src/module/stepper.h Bestand weergeven

@@ -112,10 +112,10 @@ class Stepper {
112 112
     #endif // LIN_ADVANCE
113 113
 
114 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 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 120
     static volatile long endstops_trigsteps[XYZ];
121 121
     static volatile long endstops_stepsTotal, endstops_stepsDone;

Laden…
Annuleren
Opslaan