instant stop of sd prints from the panel.
This commit is contained in:
@ -752,3 +752,12 @@ void finishAndDisableSteppers()
|
||||
disable_z();
|
||||
disable_e();
|
||||
}
|
||||
|
||||
void quickStop()
|
||||
{
|
||||
DISABLE_STEPPER_DRIVER_INTERRUPT();
|
||||
while(blocks_queued())
|
||||
plan_discard_current_block();
|
||||
ENABLE_STEPPER_DRIVER_INTERRUPT();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user