From 98c2fc4e42eb3f0a1b2a40f2cab785f7a9f59517 Mon Sep 17 00:00:00 2001 From: Giuliano Zaro <3684609+GMagician@users.noreply.github.com> Date: Wed, 14 Nov 2018 00:10:07 +0100 Subject: [PATCH] Endstops fix followup (#12423) Followup to #12413 --- Marlin/src/module/endstops.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/module/endstops.cpp b/Marlin/src/module/endstops.cpp index 221783e211..988bc21b17 100644 --- a/Marlin/src/module/endstops.cpp +++ b/Marlin/src/module/endstops.cpp @@ -293,10 +293,10 @@ void Endstops::not_homing() { void Endstops::resync() { if (!abort_enabled()) return; // If endstops/probes are disabled the loop below can hang - #if ENABLED(ENDSTOP_INTERRUPTS_FEATURE) && !ENDSTOP_NOISE_THRESHOLD + #if ENABLED(ENDSTOP_INTERRUPTS_FEATURE) update(); #else - safe_delay(2); // Wait for Temperature ISR (runs at 1KHz) + safe_delay(2); // Wait for Temperature ISR to run at least once (runs at 1KHz) #endif #if ENDSTOP_NOISE_THRESHOLD while (endstop_poll_count) safe_delay(1);