Instant Freeze/Resume Function (#17462)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
Jamie
2021-05-14 00:14:13 -05:00
committed by Scott Lahteine
parent 5298fa357c
commit 9e373617dc
8 changed files with 51 additions and 5 deletions

View File

@ -266,6 +266,10 @@ class Stepper {
static constexpr uint8_t last_moved_extruder = 0;
#endif
#if HAS_FREEZE_PIN
static bool frozen; // Set this flag to instantly freeze motion
#endif
private:
static block_t* current_block; // A pointer to the block currently being traced