diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-04-12 12:05:26 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-04-12 12:05:26 +0300 |
commit | f7c0d13a90dc0cddcfbb9eeec4857632a501818d (patch) | |
tree | d5eb3a47a398ffa48678b44b941c0b288d71b851 /src/GCodes/ObjectTracker.h | |
parent | f6f507c6b7576e3ead7d0d017535da5eecb05c35 (diff) |
Fix to make 'result' constant correct after failing G30 commands
Also added restore points and some additional limits to object model
Diffstat (limited to 'src/GCodes/ObjectTracker.h')
-rw-r--r-- | src/GCodes/ObjectTracker.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GCodes/ObjectTracker.h b/src/GCodes/ObjectTracker.h index 45d2075a..36ca680f 100644 --- a/src/GCodes/ObjectTracker.h +++ b/src/GCodes/ObjectTracker.h @@ -69,6 +69,7 @@ protected: private: typedef Bitmap<uint32_t> ObjectCancellationBitmap; // Type of a bitmap used to represent objects on the build plate that have been cancelled + static_assert(MaxTrackedObjects <= ObjectCancellationBitmap::MaxBits()); void ChangeToObject(GCodeBuffer& gb, int i) noexcept; void StopPrinting(GCodeBuffer& gb) noexcept; |