Skip to content
Snippets Groups Projects
Commit e70b44dc authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Make sure leveled[] is defined for later use

parent 54774841
Branches
Tags
No related merge requests found
......@@ -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);
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment