mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 20:18:52 +00:00
parent
f19fd642ce
commit
98c2fc4e42
@ -293,10 +293,10 @@ void Endstops::not_homing() {
|
|||||||
void Endstops::resync() {
|
void Endstops::resync() {
|
||||||
if (!abort_enabled()) return; // If endstops/probes are disabled the loop below can hang
|
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();
|
update();
|
||||||
#else
|
#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
|
#endif
|
||||||
#if ENDSTOP_NOISE_THRESHOLD
|
#if ENDSTOP_NOISE_THRESHOLD
|
||||||
while (endstop_poll_count) safe_delay(1);
|
while (endstop_poll_count) safe_delay(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user