From ee73e17c9b3b2b4d24cc02d9f0b7e29ca69bfd67 Mon Sep 17 00:00:00 2001 From: kAdonis <35379348+kAdonis@users.noreply.github.com> Date: Sun, 5 May 2019 05:00:24 +0200 Subject: [PATCH] Hide 'vsense' report row if not used (#13884) --- Marlin/src/feature/tmc_util.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Marlin/src/feature/tmc_util.cpp b/Marlin/src/feature/tmc_util.cpp index ff477818fe..d6abf9413e 100644 --- a/Marlin/src/feature/tmc_util.cpp +++ b/Marlin/src/feature/tmc_util.cpp @@ -793,7 +793,9 @@ #endif TMC_REPORT("CS actual\t", TMC_CS_ACTUAL); TMC_REPORT("PWM scale", TMC_PWM_SCALE); - TMC_REPORT("vsense\t", TMC_VSENSE); + #if HAS_DRIVER(TMC2130) || HAS_DRIVER(TMC2224) || HAS_DRIVER(TMC2660) || HAS_DRIVER(TMC2208) + TMC_REPORT("vsense\t", TMC_VSENSE); + #endif TMC_REPORT("stealthChop", TMC_STEALTHCHOP); TMC_REPORT("msteps\t", TMC_MICROSTEPS); TMC_REPORT("tstep\t", TMC_TSTEP);