Skip to content

Commit

Permalink
In M591 MFM "v3" is now reported as "firmware version 3" usw.
Browse files Browse the repository at this point in the history
  • Loading branch information
dc42 committed Mar 21, 2024
1 parent d1e632f commit 71fc5d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/FilamentMonitors/RotatingMagnetFilamentMonitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -605,9 +605,10 @@ GCodeResult RotatingMagnetFilamentMonitor::Configure(const CanMessageGenericPars
}
else
{
reply.printf("Duet3D magnetic filament monitor v%u%s on pin ", version, (switchOpenMask != 0) ? " with switch" : "");
reply.printf("Duet3D magnetic filament monitor%s on pin ", (switchOpenMask != 0) ? " with switch" : "");
GetPort().AppendPinName(reply);
reply.catf(", %s, %.2fmm/rev, allow %ld%% to %ld%%, check %s moves every %.1fmm, ",
reply.catf(", firmware version %u, %s, %.2fmm/rev, allow %ld%% to %ld%%, check %s moves every %.1fmm, ",
version,
(GetEnableMode() == 2) ? "enabled always" : (GetEnableMode() == 1) ? "enabled when SD printing" : "disabled",
(double)mmPerRev,
ConvertToPercent(minMovementAllowed),
Expand Down

0 comments on commit 71fc5d9

Please sign in to comment.