Browse Source

Use SBI macro

esenapaj 8 years ago
parent
commit
7950b5268a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/stepper.cpp

+ 1
- 1
Marlin/stepper.cpp View File

@@ -471,7 +471,7 @@ inline void update_endstops() {
471 471
         #if ENABLED(Z_MIN_PROBE_ENDSTOP) && DISABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && ENABLED(HAS_Z_MIN_PROBE)
472 472
           if (z_probe_is_active) {
473 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 476
         #endif
477 477
       }

Loading…
Cancel
Save