[2.0.x] Fix compile error (#11951)

Fix compile error intruduced with M109 modification
This commit is contained in:
Giuliano Zaro 2018-09-29 20:48:23 +02:00 committed by Scott Lahteine
parent 935b120949
commit 70e7a465d8

View file

@ -90,7 +90,7 @@ void GcodeSuite::M109() {
#endif #endif
const bool no_wait_for_cooling = parser.seenval('S'), const bool no_wait_for_cooling = parser.seenval('S'),
set_temp = no_wait_for_cooling || parser.seenval('R') set_temp = no_wait_for_cooling || parser.seenval('R');
if (set_temp) { if (set_temp) {
const int16_t temp = parser.value_celsius(); const int16_t temp = parser.value_celsius();
thermalManager.setTargetHotend(temp, target_extruder); thermalManager.setTargetHotend(temp, target_extruder);