AnHardt / Marlin

Reprap FW with look ahead. SDcard and LCD support. It works on Gen6, Ultimaker, RAMPS and Sanguinololu
GNU General Public License v3.0
1 stars 1 forks source link

Extend ABORT_ON_ENDSTOP_HIT to USB-printing #11

Closed AnHardt closed 6 years ago

AnHardt commented 8 years ago

Added configurable option ABORT_ON_ENDSTOP_HIT_INIT to activate the feature at boot time. Changes some descriptive text. Cleaned up the use of enable_endstops() in homeaxis(). Changed the initialisation of abort_on_endstop_hit to relate on ABORT_ON_ENDSTOP_HIT_INIT. Changed checkHitEndstops() to throw an ERROR instead of an ECHO when ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED. Send "X=" instead of "X:" also for Y,Z and probe to make the output not readable by Repetier Host.

Abort all printing when ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED. Therefor the already existent feature for sd-printing was extended.

To come out of the look send M999.