Browse Source

Merge pull request #3255 from esenapaj/patch-1

Use SBI macro
Scott Lahteine 8 years ago
parent
commit
ee71f5a320
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/stepper.cpp

+ 1
- 1
Marlin/stepper.cpp View File

471
         #if ENABLED(Z_MIN_PROBE_ENDSTOP) && DISABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && ENABLED(HAS_Z_MIN_PROBE)
471
         #if ENABLED(Z_MIN_PROBE_ENDSTOP) && DISABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && ENABLED(HAS_Z_MIN_PROBE)
472
           if (z_probe_is_active) {
472
           if (z_probe_is_active) {
473
             UPDATE_ENDSTOP(Z, MIN_PROBE);
473
             UPDATE_ENDSTOP(Z, MIN_PROBE);
474
-            if (TEST_ENDSTOP(Z_MIN_PROBE)) endstop_hit_bits |= _BV(Z_MIN_PROBE);
474
+            if (TEST_ENDSTOP(Z_MIN_PROBE)) SBI(endstop_hit_bits, Z_MIN_PROBE);
475
           }
475
           }
476
         #endif
476
         #endif
477
       }
477
       }

Loading…
Cancel
Save