Fix Endstop Interrupts with SPI endstops, sanity checks (#20051)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
LinFor
2021-04-29 08:45:05 -05:00
committed by Scott Lahteine
co-authored by Scott Lahteine
parent ec5b2aab15
commit b129652597
2 changed files with 64 additions and 49 deletions
+3
View File
@@ -899,6 +899,9 @@ void Endstops::update() {
hit = true;
}
#endif
if (TERN0(ENDSTOP_INTERRUPTS_FEATURE, hit)) update();
return hit;
}