From bd4160dbafbd2be4d7e77f701793611710b9a8e1 Mon Sep 17 00:00:00 2001 From: Ludy Date: Sun, 3 Mar 2019 00:30:30 +0100 Subject: [PATCH] Unused CS_ACTUAL_sb (#13282) --- Marlin/src/feature/tmc_util.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Marlin/src/feature/tmc_util.cpp b/Marlin/src/feature/tmc_util.cpp index ac956ad177..ee28f70633 100644 --- a/Marlin/src/feature/tmc_util.cpp +++ b/Marlin/src/feature/tmc_util.cpp @@ -112,7 +112,7 @@ data.is_standstill = !!(spart & _BV(STST_bp - 24)); data.sg_result_reasonable = !data.is_standstill; // sg_result has no reasonable meaning while standstill #endif - + UNUSED(CS_ACTUAL_sb); #else // !__AVR__ data.is_ot = !!(data.drv_status & _BV(OT_bp)); @@ -159,6 +159,7 @@ spart = data.drv_status >> 24; data.is_stealth = !!(spart & _BV(STEALTH_bp - 24)); data.is_standstill = !!(spart & _BV(STST_bp - 24)); + UNUSED(CS_ACTUAL_sb); #else data.cs_actual = (data.drv_status & CS_ACTUAL_bm) >> CS_ACTUAL_sb; data.is_stealth = !!(data.drv_status & _BV(STEALTH_bp));