Browse Source

Init all endstop bits to 0 (PR#2332)

Scott Lahteine 9 years ago
parent
commit
d135b15bb8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/stepper.cpp

+ 1
- 1
Marlin/stepper.cpp View File

@@ -475,7 +475,7 @@ ISR(TIMER1_COMPA_vect) {
475 475
       #else
476 476
         byte
477 477
       #endif
478
-      current_endstop_bits;
478
+          current_endstop_bits = 0;
479 479
 
480 480
       #define _ENDSTOP_PIN(AXIS, MINMAX) AXIS ##_## MINMAX ##_PIN
481 481
       #define _ENDSTOP_INVERTING(AXIS, MINMAX) AXIS ##_## MINMAX ##_ENDSTOP_INVERTING

Loading…
Cancel
Save