Skip to content

Commit 159c4cf

Browse files
committedMar 3, 2022
Reset acceleration rates when changing microstepping resolution
1 parent 56cb8cb commit 159c4cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎Firmware/Marlin_main.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -6952,6 +6952,7 @@ SERIAL_PROTOCOLPGM("\n\n");
69526952
}
69536953
}
69546954
}
6955+
reset_acceleration_rates();
69556956
break;
69566957

69576958
/*!
@@ -8789,6 +8790,7 @@ SERIAL_PROTOCOLPGM("\n\n");
87898790
}
87908791
}
87918792
}
8793+
reset_acceleration_rates();
87928794
#else //TMC2130
87938795
#if defined(X_MS1_PIN) && X_MS1_PIN > -1
87948796
if(code_seen('S')) for(int i=0;i<=4;i++) microstep_mode(i,code_value());

0 commit comments

Comments
 (0)