[2.0.x] Add endstop noise filter (#10796)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2018-05-21 15:51:38 -05:00
1 parent 65a004564c
commit 4b2f6e3b2b
73 files changed
+1379 -132

No files matched your search

+1 -1
View File
@@ -515,7 +515,7 @@ static bool do_probe_move(const float z, const float fr_mm_s) {
do_blocking_move_to_z(z, fr_mm_s);
// Check to see if the probe was triggered
const bool probe_triggered = TEST(Endstops::endstop_hit_bits,
const bool probe_triggered = TEST(endstops.trigger_state(),
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
Z_MIN
#else