From d135b15bb8a53cb4c10a241627ec665b25917ad1 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 25 Jun 2015 19:22:49 -0700 Subject: [PATCH] Init all endstop bits to 0 (PR#2332) --- Marlin/stepper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index ace0615b3c..96c8afec2e 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -475,7 +475,7 @@ ISR(TIMER1_COMPA_vect) { #else byte #endif - current_endstop_bits; + current_endstop_bits = 0; #define _ENDSTOP_PIN(AXIS, MINMAX) AXIS ##_## MINMAX ##_PIN #define _ENDSTOP_INVERTING(AXIS, MINMAX) AXIS ##_## MINMAX ##_ENDSTOP_INVERTING