Consistent M112 with Emergency Parser (#16747)

This commit is contained in:
Jason Smith 2020-01-31 21:08:37 -08:00 committed by GitHub
parent 5b3d968634
commit 9a8de23858
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1050,7 +1050,7 @@ void Temperature::manage_heater() {
#endif
#if ENABLED(EMERGENCY_PARSER)
if (emergency_parser.killed_by_M112) kill();
if (emergency_parser.killed_by_M112) kill(M112_KILL_STR, nullptr, true);
#endif
if (!raw_temps_ready) return;