//processed in write to file routine above
//card,saving = false;
break;
+
#endif //SDSUPPORT
case 30: //M30 take time since the start of the SD print or an M109 command
}
else
{
- st_synchronize();
- LCD_MESSAGEPGM("Free move.");
- disable_x();
- disable_y();
- disable_z();
- disable_e();
+ finishAndDisableSteppers();
}
break;
case 85: // M85
CRITICAL_SECTION_END;
return count_pos;
}
+
+void finishAndDisableSteppers()
+{
+ st_synchronize();
+ LCD_MESSAGEPGM("Released.");
+ disable_x();
+ disable_y();
+ disable_z();
+ disable_e();
+}
void checkStepperErrors(); //Print errors detected by the stepper
+void finishAndDisableSteppers();
+
extern block_t *current_block; // A pointer to the block currently being traced