diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-03-10 22:48:27 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-03-10 22:48:27 +0300 |
commit | 6052f634c26fffe37b25fade21f138acdecc36f4 (patch) | |
tree | bd2b9eb6f3842a6daabf83db3cf12d9b20afb91b /src/GCodes/GCodes2.cpp | |
parent | a49bbb4575b535207121bbcdde98ebf4c3531cd7 (diff) |
Fix new bugs with M150 and M954 commands
Diffstat (limited to 'src/GCodes/GCodes2.cpp')
-rw-r--r-- | src/GCodes/GCodes2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/GCodes2.cpp b/src/GCodes/GCodes2.cpp index 46889909..ec2fb424 100644 --- a/src/GCodes/GCodes2.cpp +++ b/src/GCodes/GCodes2.cpp @@ -4533,7 +4533,7 @@ bool GCodes::HandleMcode(GCodeBuffer& gb, const StringRef& reply) THROWS(GCodeEx #if SUPPORT_REMOTE_COMMANDS case 954: // configure as expansion board { - CanAddress addr = gb.GetLimitedUIValue('A', CanId::MaxCanAddress + 1, 1); + CanAddress addr = gb.GetLimitedUIValue('A', 1, CanId::MaxCanAddress + 1); CanInterface::SwitchToExpansionMode(addr); } break; |