UI and stall reset for extra TMC axes (#17818)

This commit is contained in:
Scott Lahteine
2020-04-30 22:52:33 -05:00
committed by GitHub
parent 6edc2c3690
commit a226b281af
5 changed files with 85 additions and 97 deletions

View File

@ -157,15 +157,27 @@ void menu_tmc_current() {
BACK_ITEM(MSG_TMC_DRIVERS);
#if X_SENSORLESS
TMC_EDIT_STORED_SGT(X);
#endif
#if X2_SENSORLESS
TMC_EDIT_STORED_SGT(X2);
#if X2_SENSORLESS
TMC_EDIT_STORED_SGT(X2);
#endif
#endif
#if Y_SENSORLESS
TMC_EDIT_STORED_SGT(Y);
#if Y2_SENSORLESS
TMC_EDIT_STORED_SGT(Y2);
#endif
#endif
#if Z_SENSORLESS
TMC_EDIT_STORED_SGT(Z);
#if Z2_SENSORLESS
TMC_EDIT_STORED_SGT(Z2);
#endif
#if Z3_SENSORLESS
TMC_EDIT_STORED_SGT(Z3);
#endif
#if Z4_SENSORLESS
TMC_EDIT_STORED_SGT(Z4);
#endif
#endif
END_MENU();
}