Make sure leveled[] is defined for later use
This commit is contained in:
		| @@ -56,9 +56,10 @@ | ||||
|     SERIAL_PROTOCOLPGM("Raw:    "); | ||||
|     report_xyz(current_position); | ||||
|  | ||||
|     float leveled[XYZ] = { current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS] }; | ||||
|  | ||||
|     #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); | ||||
|       report_xyz(leveled); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user