diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-02-08 22:30:06 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-02-08 22:30:06 +0300 |
commit | f7642e6bcb95a32920dde0c787e5462dad2141d9 (patch) | |
tree | ddbbdb035148d22f2c55ad54601dfaa9777374b5 /src/GCodes/ObjectTracker.h | |
parent | df621d7110d27549cf6dee94a9748041b9e774b3 (diff) |
Fixed Duet 3 and 3 Mini compile error
Diffstat (limited to 'src/GCodes/ObjectTracker.h')
-rw-r--r-- | src/GCodes/ObjectTracker.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/GCodes/ObjectTracker.h b/src/GCodes/ObjectTracker.h index 79f548e5..0b0e253b 100644 --- a/src/GCodes/ObjectTracker.h +++ b/src/GCodes/ObjectTracker.h @@ -69,7 +69,11 @@ protected: #endif private: +#if SAME70 || SAME5x + typedef Bitmap<uint64_t> ObjectCancellationBitmap; // Type of a bitmap used to represent objects on the build plate that have been cancelled +#else typedef Bitmap<uint32_t> ObjectCancellationBitmap; // Type of a bitmap used to represent objects on the build plate that have been cancelled +#endif static_assert(MaxTrackedObjects <= ObjectCancellationBitmap::MaxBits()); void ChangeToObject(GCodeBuffer& gb, int i) noexcept; |