Update emergency_parser for 2.0.x parity (#10530)
This commit is contained in:
parent
d429d5a4ae
commit
11bbcfd69e
6 changed files with 192 additions and 115 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue