Improve ExtUI, fix compiler errors, warnings (#14441)
This commit is contained in:
committed by
Scott Lahteine
parent
14fb683682
commit
e6cf7860e8
@ -68,6 +68,9 @@ public:
|
||||
#endif
|
||||
0
|
||||
);
|
||||
#if DISABLED(MEASURE_BACKLASH_WHEN_PROBING)
|
||||
UNUSED(e);
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline bool has_measurement(const uint8_t e) {
|
||||
@ -76,6 +79,9 @@ public:
|
||||
|| (measured_count[e] > 0)
|
||||
#endif
|
||||
);
|
||||
#if DISABLED(MEASURE_BACKLASH_WHEN_PROBING)
|
||||
UNUSED(e);
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline bool has_any_measurement() {
|
||||
|
@ -985,7 +985,7 @@
|
||||
st.TCOOLTHRS(0xFFFFF);
|
||||
return true;
|
||||
}
|
||||
void tmc_disable_stallguard(TMC2209Stepper &st, const bool restore_stealth) {
|
||||
void tmc_disable_stallguard(TMC2209Stepper &st, const bool restore_stealth _UNUSED) {
|
||||
st.TCOOLTHRS(0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user