diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-10-31 12:37:33 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-10-31 12:37:33 +0300 |
commit | c0b1908a673e62e8553264f31057843d11a27bc5 (patch) | |
tree | b83657765ee39d6317c2a1420d0cafd1cd4550a2 /src/GCodes/GCodes3.cpp | |
parent | 1f1c2b39cd57d8d9782685c595b005d6b7023c46 (diff) |
Replaced ecv.h by ecv_duet3d.h with standard undefs for C++
Also other minor changes to facilitate static analysis
Diffstat (limited to 'src/GCodes/GCodes3.cpp')
-rw-r--r-- | src/GCodes/GCodes3.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GCodes/GCodes3.cpp b/src/GCodes/GCodes3.cpp index 4bb98433..b3910549 100644 --- a/src/GCodes/GCodes3.cpp +++ b/src/GCodes/GCodes3.cpp @@ -1350,10 +1350,10 @@ GCodeResult GCodes::ConfigureDriver(GCodeBuffer& gb, const StringRef& reply) THR reply.copy("["); } - // Hangprinter needs M569 to support multiple P parameters in M569.3. This poses a problem for other uses of M569 because the output may be too long + // Hangprinter needs M569 to support multiple P parameters in M569.3 and M569.4. This poses a problem for other uses of M569 because the output may be too long // to fit in the reply buffer, and we can only use an OutputBuffer instead if the overall result is success. - // Therefore we only support multiple P parameters for subfunction 3. - GCodeResult res; + // Therefore we only support multiple P parameters for subfunctions 3 and 4. + GCodeResult res = GCodeResult::ok; for (size_t i = 0; i < drivesCount; ++i) { DriverId const id = driverIds[i]; |