gcode-process.c: fix HEATER_EXTRUDER reference.
A rare combination of factors makes this code assume HEATER_EXTRUDER always exists, when that is not necessarily so. Add the normal guard around it.
This commit is contained in:
parent
89c85181f7
commit
498779d7ab
|
|
@ -715,9 +715,11 @@ void process_gcode_command() {
|
|||
//? --- M136: PRINT PID settings to host ---
|
||||
//? Undocumented.
|
||||
//? This comand is only available in DEBUG builds.
|
||||
#ifdef HEATER_EXTRUDER
|
||||
if ( ! next_target.seen_P)
|
||||
next_target.P = HEATER_EXTRUDER;
|
||||
heater_print(next_target.P);
|
||||
#endif
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue