diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-02-28 23:17:17 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-02-28 23:17:17 +0300 |
commit | 3789fd70509b95244634a43c430e54fb3b83c4a0 (patch) | |
tree | 28873ffac41ba6524890e7b5ca7ea7e567343ddb /src/Platform/Platform.cpp | |
parent | aeb483f9e02f03ae67c93f99603aea733de2cf08 (diff) |
Removed incorrect driver 'pos' field from M122 report
Diffstat (limited to 'src/Platform/Platform.cpp')
-rw-r--r-- | src/Platform/Platform.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Platform/Platform.cpp b/src/Platform/Platform.cpp index 10089590..19ea4ebd 100644 --- a/src/Platform/Platform.cpp +++ b/src/Platform/Platform.cpp @@ -1783,13 +1783,12 @@ void Platform::Diagnostics(MessageType mtype) noexcept for (size_t drive = 0; drive < NumDirectDrivers; ++drive) { String<StringLength256> driverStatus; - driverStatus.printf("Driver %u: pos %" PRIi32, drive, reprap.GetMove().GetEndPoint(drive)); + driverStatus.printf("Driver %u: ", drive); #ifdef DUET3_MB6XD - driverStatus.cat((HasDriverError(drive)) ? " error" : " ok"); + driverStatus.cat((HasDriverError(drive)) ? "error" : "ok"); #elif HAS_SMART_DRIVERS if (drive < numSmartDrivers) { - driverStatus.cat(", "); const StandardDriverStatus status = SmartDrivers::GetStatus(drive); status.AppendText(driverStatus.GetRef(), 0); if (!status.notPresent) |