Browse Source

Fixup initial error by defect

Yuri D'Elia 5 năm trước cách đây
mục cha
commit
3abb2188df
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Firmware/stepper.cpp

+ 1 - 1
Firmware/stepper.cpp

@@ -835,7 +835,7 @@ FORCE_INLINE void isr() {
 
 #ifdef LIN_ADVANCE
     // avoid multiple instances or function calls to advance_spread
-    if (la_state & ADV_INIT) eISR_Rate = current_block->advance_rate;
+    if (la_state & ADV_INIT) eISR_Rate = current_block->advance_rate / 2;
     if (la_state & ADV_INIT || nextAdvanceISR != ADV_NEVER) {
         advance_spread(main_Rate);
         if (la_state & ADV_DECELERATE) {