Fixup initial error by defect
This commit is contained in:
parent
ab478ec281
commit
3abb2188df
1 changed files with 1 additions and 1 deletions
|
@ -835,7 +835,7 @@ FORCE_INLINE void isr() {
|
||||||
|
|
||||||
#ifdef LIN_ADVANCE
|
#ifdef LIN_ADVANCE
|
||||||
// avoid multiple instances or function calls to advance_spread
|
// 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) {
|
if (la_state & ADV_INIT || nextAdvanceISR != ADV_NEVER) {
|
||||||
advance_spread(main_Rate);
|
advance_spread(main_Rate);
|
||||||
if (la_state & ADV_DECELERATE) {
|
if (la_state & ADV_DECELERATE) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue