diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-10-08 21:01:06 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-10-08 21:01:06 +0300 |
commit | ad9f1d3e8e3585d286a9042b0e071a15f477825e (patch) | |
tree | 875bd94696c05814c495cdcb1faff67f7fe36486 /src/GCodes/RestorePoint.cpp | |
parent | 4248a4e898a846c3fbfdcc2d6c2177f3b37e55e2 (diff) |
Various
Support fan tachos on expansion boards
Fix SHA1 value display bug
Add DotStar support to Duet 3 v0.6
Support CRC32 checking of uploaded files
Include spindle speeds in restore points
Reduced memory usage in Duet 2 builds
Minor improvements to thermistor handling
FansManager class is no longer attached to Platform
Removed duplicate CRC32 functionality
Fixed W5500 network code startup issue
Diffstat (limited to 'src/GCodes/RestorePoint.cpp')
-rw-r--r-- | src/GCodes/RestorePoint.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/GCodes/RestorePoint.cpp b/src/GCodes/RestorePoint.cpp index 3a9ca286..9f720815 100644 --- a/src/GCodes/RestorePoint.cpp +++ b/src/GCodes/RestorePoint.cpp @@ -23,10 +23,16 @@ void RestorePoint::Init() virtualExtruderPosition = 0.0; filePos = noFilePosition; proportionDone = 0.0; + toolNumber = -1; + + for (size_t i = 0; i < MaxSpindles; ++i) + { + spindleSpeeds[i] = 0.0; + } + #if SUPPORT_LASER || SUPPORT_IOBITS laserPwmOrIoBits.Clear(); #endif - toolNumber = -1; } // End |