Disable steppers on M112 (#15065)

And change verbiage to not refer to "Emergency Stop."
This commit is contained in:
InsanityAutomation
2019-08-28 01:51:01 -04:00
committed by Scott Lahteine
parent 318356b6bc
commit b7796bcce6
7 changed files with 17 additions and 13 deletions

View File

@ -38,10 +38,10 @@ void GcodeSuite::M108() {
}
/**
* M112: Emergency Stop
* M112: Full Shutdown
*/
void GcodeSuite::M112() {
kill();
kill(PSTR("M112 Shutdown"), true);
}
/**

View File

@ -86,7 +86,7 @@
/**
* M81: Turn off Power, including Power Supply, if there is one.
*
* This code should ALWAYS be available for EMERGENCY SHUTDOWN!
* This code should ALWAYS be available for FULL SHUTDOWN!
*/
void GcodeSuite::M81() {
thermalManager.disable_all_heaters();

View File

@ -407,7 +407,7 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
#if DISABLED(EMERGENCY_PARSER)
case 108: M108(); break; // M108: Cancel Waiting
case 112: M112(); break; // M112: Emergency Stop
case 112: M112(); break; // M112: Full Shutdown
case 410: M410(); break; // M410: Quickstop - Abort all the planned moves.
#if ENABLED(HOST_PROMPT_SUPPORT)
case 876: M876(); break; // M876: Handle Host prompt responses

View File

@ -132,7 +132,7 @@
* If AUTOTEMP is enabled, S<mintemp> B<maxtemp> F<factor>. Exit autotemp by any M109 without F
* M110 - Set the current line number. (Used by host printing)
* M111 - Set debug flags: "M111 S<flagbits>". See flag bits defined in enum.h.
* M112 - Emergency stop.
* M112 - Full Shutdown.
* M113 - Get or set the timeout interval for Host Keepalive "busy" messages. (Requires HOST_KEEPALIVE_FEATURE)
* M114 - Report current position.
* M115 - Report capabilities. (Extended capabilities requires EXTENDED_CAPABILITIES_REPORT)