[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 |   #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); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user