From 7950b5268ab76c2f02827199ae1e0dee350b4475 Mon Sep 17 00:00:00 2001 From: esenapaj Date: Sat, 26 Mar 2016 20:17:52 +0900 Subject: [PATCH] Use SBI macro --- Marlin/stepper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index aaf4db7e56..5d2761f1fd 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -471,7 +471,7 @@ inline void update_endstops() { #if ENABLED(Z_MIN_PROBE_ENDSTOP) && DISABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) && ENABLED(HAS_Z_MIN_PROBE) if (z_probe_is_active) { UPDATE_ENDSTOP(Z, MIN_PROBE); - if (TEST_ENDSTOP(Z_MIN_PROBE)) endstop_hit_bits |= _BV(Z_MIN_PROBE); + if (TEST_ENDSTOP(Z_MIN_PROBE)) SBI(endstop_hit_bits, Z_MIN_PROBE); } #endif }