Skip to content

Commit 3b5fe90

Browse files
committed
M915 in expansion mode now reports whether event-on-stall enabled, 3.4.2
1 parent 6901180 commit 3b5fe90

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Platform/Platform.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5172,10 +5172,12 @@ GCodeResult Platform::EutProcessM915(const CanMessageGeneric& msg, const StringR
51725172

51735173
if (!seen)
51745174
{
5175-
drivers.Iterate([&reply](unsigned int drive, unsigned int) noexcept
5175+
drivers.Iterate([&reply, this](unsigned int drive, unsigned int) noexcept
51765176
{
51775177
reply.lcatf("Driver %u.%u: ", CanInterface::GetCanAddress(), drive);
51785178
SmartDrivers::AppendStallConfig(drive, reply);
5179+
reply.cat(", event on stall: ");
5180+
reply.cat((eventOnStallDrivers.IsBitSet(drive)) ? "yes" : "no");
51795181
}
51805182
);
51815183
}

src/Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#ifndef VERSION
1212
// Note: the complete VERSION string must be in standard version number format and must not contain spaces! This is so that DWC can parse it.
13-
# define MAIN_VERSION "3.4.2rc3+2"
13+
# define MAIN_VERSION "3.4.2"
1414
# ifdef USE_CAN0
1515
# define VERSION_SUFFIX "(CAN0)"
1616
# else

0 commit comments

Comments
 (0)