Merge branch 'endstop-noise-testing'

This commit is contained in:
David Ramiro
2019-01-04 15:22:06 +01:00
8 changed files with 22990 additions and 22975 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -587,7 +587,7 @@
* (This feature is not required for common micro-switches mounted on PCBs * (This feature is not required for common micro-switches mounted on PCBs
* based on the Makerbot design, since they already include the 100nF capacitor.) * based on the Makerbot design, since they already include the 100nF capacitor.)
*/ */
//#define ENDSTOP_NOISE_FILTER #define ENDSTOP_NOISE_FILTER
//============================================================================= //=============================================================================
//============================== Movement Settings ============================ //============================== Movement Settings ============================

View File

@@ -537,7 +537,7 @@ void Endstops::update() {
*/ */
static esbits_t old_live_state; static esbits_t old_live_state;
if (old_live_state != live_state) { if (old_live_state != live_state) {
endstop_poll_count = 7; endstop_poll_count = 2;
old_live_state = live_state; old_live_state = live_state;
} }
else if (endstop_poll_count && !--endstop_poll_count) else if (endstop_poll_count && !--endstop_poll_count)