No leveling data in M114 if no leveling is enabled
This commit is contained in:
		
							parent
							
								
									f5d210c35c
								
							
						
					
					
						commit
						e8e92f8969
					
				| @ -56,6 +56,7 @@ | ||||
|     SERIAL_PROTOCOLPGM("Raw:    "); | ||||
|     report_xyz(current_position); | ||||
| 
 | ||||
|     #if PLANNER_LEVELING | ||||
|       SERIAL_PROTOCOLPGM("Leveled:"); | ||||
|       float leveled[XYZ] = { current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS] }; | ||||
|       planner.apply_leveling(leveled); | ||||
| @ -65,6 +66,7 @@ | ||||
|       float unleveled[XYZ] = { leveled[X_AXIS], leveled[Y_AXIS], leveled[Z_AXIS] }; | ||||
|       planner.unapply_leveling(unleveled); | ||||
|       report_xyz(unleveled); | ||||
|     #endif | ||||
| 
 | ||||
|     #if IS_KINEMATIC | ||||
|       #if IS_SCARA | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user