diff options
Diffstat (limited to 'src/CAN/CommandProcessor.cpp')
-rw-r--r-- | src/CAN/CommandProcessor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CAN/CommandProcessor.cpp b/src/CAN/CommandProcessor.cpp index 545cc677..a82d778e 100644 --- a/src/CAN/CommandProcessor.cpp +++ b/src/CAN/CommandProcessor.cpp @@ -355,11 +355,11 @@ static GCodeResult EutGetInfo(const CanMessageReturnInfo& msg, const StringRef& const size_t driver = msg.type - (CanMessageReturnInfo::typeDiagnosticsPart0 + 1); if (driver < NumDirectDrivers) // we have up to 7 drivers on the Duet 3 Mini but only 6 on the 6HC and 6XD { - reply.lcatf("Driver %u: position %" PRIi32 ", %.1f steps/mm" + reply.lcatf("Driver %u: %.1f steps/mm" #if HAS_SMART_DRIVERS "," #endif - , driver, reprap.GetMove().GetEndPoint(driver), (double)reprap.GetPlatform().DriveStepsPerUnit(driver)); + , driver, (double)reprap.GetPlatform().DriveStepsPerUnit(driver)); #if HAS_SMART_DRIVERS SmartDrivers::AppendDriverStatus(driver, reply); #endif |