Browse Source

Init all endstop bits to 0 (PR#2332)

Scott Lahteine 10 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
       #else
475
       #else
476
         byte
476
         byte
477
       #endif
477
       #endif
478
-      current_endstop_bits;
478
+          current_endstop_bits = 0;
479
 
479
 
480
       #define _ENDSTOP_PIN(AXIS, MINMAX) AXIS ##_## MINMAX ##_PIN
480
       #define _ENDSTOP_PIN(AXIS, MINMAX) AXIS ##_## MINMAX ##_PIN
481
       #define _ENDSTOP_INVERTING(AXIS, MINMAX) AXIS ##_## MINMAX ##_ENDSTOP_INVERTING
481
       #define _ENDSTOP_INVERTING(AXIS, MINMAX) AXIS ##_## MINMAX ##_ENDSTOP_INVERTING

Loading…
Cancel
Save