Followup fixes for singlenozzle, etc. (#17712)
This commit is contained in:
@ -65,7 +65,7 @@ void GcodeSuite::M104() {
|
||||
|
||||
if (parser.seenval('S')) {
|
||||
const int16_t temp = parser.value_celsius();
|
||||
#if ENABLED(SINGLENOZZLE)
|
||||
#if ENABLED(SINGLENOZZLE_STANDBY_TEMP)
|
||||
singlenozzle_temp[target_extruder] = temp;
|
||||
if (target_extruder != active_extruder) return;
|
||||
#endif
|
||||
@ -111,7 +111,7 @@ void GcodeSuite::M109() {
|
||||
set_temp = no_wait_for_cooling || parser.seenval('R');
|
||||
if (set_temp) {
|
||||
const int16_t temp = parser.value_celsius();
|
||||
#if ENABLED(SINGLENOZZLE)
|
||||
#if ENABLED(SINGLENOZZLE_STANDBY_TEMP)
|
||||
singlenozzle_temp[target_extruder] = temp;
|
||||
if (target_extruder != active_extruder) return;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user