|
@@ -293,10 +293,10 @@ void Endstops::not_homing() {
|
293
|
293
|
void Endstops::resync() {
|
294
|
294
|
if (!abort_enabled()) return; // If endstops/probes are disabled the loop below can hang
|
295
|
295
|
|
296
|
|
- #if ENABLED(ENDSTOP_INTERRUPTS_FEATURE) && !ENDSTOP_NOISE_THRESHOLD
|
|
296
|
+ #if ENABLED(ENDSTOP_INTERRUPTS_FEATURE)
|
297
|
297
|
update();
|
298
|
298
|
#else
|
299
|
|
- safe_delay(2); // Wait for Temperature ISR (runs at 1KHz)
|
|
299
|
+ safe_delay(2); // Wait for Temperature ISR to run at least once (runs at 1KHz)
|
300
|
300
|
#endif
|
301
|
301
|
#if ENDSTOP_NOISE_THRESHOLD
|
302
|
302
|
while (endstop_poll_count) safe_delay(1);
|