Followup fixes for singlenozzle, etc. (#17712)

This commit is contained in:
studiodyne
2020-04-28 07:21:23 +02:00
committed by GitHub
parent 4f003fc7a7
commit 89b17b5463
10 changed files with 61 additions and 34 deletions

View File

@ -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