Update emergency_parser for 2.0.x parity (#10530)
This commit is contained in:
@@ -48,6 +48,10 @@
|
||||
#include "watchdog.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(EMERGENCY_PARSER)
|
||||
#include "emergency_parser.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
|
||||
static void* heater_ttbl_map[2] = { (void*)HEATER_0_TEMPTABLE, (void*)HEATER_1_TEMPTABLE };
|
||||
static uint8_t heater_ttbllen_map[2] = { HEATER_0_TEMPTABLE_LEN, HEATER_1_TEMPTABLE_LEN };
|
||||
@@ -773,7 +777,7 @@ void Temperature::manage_heater() {
|
||||
#endif
|
||||
|
||||
#if ENABLED(EMERGENCY_PARSER)
|
||||
if (killed_by_M112) kill(PSTR(MSG_KILLED));
|
||||
if (emergency_parser.killed_by_M112) kill(PSTR(MSG_KILLED));
|
||||
#endif
|
||||
|
||||
if (!temp_meas_ready) return;
|
||||
|
||||
Reference in New Issue
Block a user