[2.0.x] Fix compile error (#11951)
Fix compile error intruduced with M109 modification
This commit is contained in:
parent
935b120949
commit
70e7a465d8
|
@ -90,7 +90,7 @@ void GcodeSuite::M109() {
|
|||
#endif
|
||||
|
||||
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) {
|
||||
const int16_t temp = parser.value_celsius();
|
||||
thermalManager.setTargetHotend(temp, target_extruder);
|
||||
|
|
Loading…
Reference in a new issue