Minor tweak to M204 code (PR#2457)
This commit is contained in:
		
				
					committed by
					
						 Richard Wackerbarth
						Richard Wackerbarth
					
				
			
			
				
	
			
			
			
						parent
						
							81d42406b7
						
					
				
				
					commit
					db23b9b184
				
			| @@ -4105,8 +4105,7 @@ inline void gcode_M203() { | |||||||
|  */ |  */ | ||||||
| inline void gcode_M204() { | inline void gcode_M204() { | ||||||
|   if (code_seen('S')) {  // Kept for legacy compatibility. Should NOT BE USED for new developments. |   if (code_seen('S')) {  // Kept for legacy compatibility. Should NOT BE USED for new developments. | ||||||
|     acceleration = code_value(); |     travel_acceleration = acceleration = code_value(); | ||||||
|     travel_acceleration = acceleration; |  | ||||||
|     SERIAL_ECHOPAIR("Setting Print and Travel Acceleration: ", acceleration); |     SERIAL_ECHOPAIR("Setting Print and Travel Acceleration: ", acceleration); | ||||||
|     SERIAL_EOL; |     SERIAL_EOL; | ||||||
|   } |   } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user