diff options
Diffstat (limited to 'src/Platform/Platform.cpp')
-rw-r--r-- | src/Platform/Platform.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Platform/Platform.cpp b/src/Platform/Platform.cpp index ba00aab9..bbc1c0d9 100644 --- a/src/Platform/Platform.cpp +++ b/src/Platform/Platform.cpp @@ -5172,10 +5172,12 @@ GCodeResult Platform::EutProcessM915(const CanMessageGeneric& msg, const StringR if (!seen) { - drivers.Iterate([&reply](unsigned int drive, unsigned int) noexcept + drivers.Iterate([&reply, this](unsigned int drive, unsigned int) noexcept { reply.lcatf("Driver %u.%u: ", CanInterface::GetCanAddress(), drive); SmartDrivers::AppendStallConfig(drive, reply); + reply.cat(", event on stall: "); + reply.cat((eventOnStallDrivers.IsBitSet(drive)) ? "yes" : "no"); } ); } |