Add UBL support for G2/G3 and G5 (#10648)

This commit is contained in:
Scott Lahteine
2018-05-08 11:10:45 -05:00
committed by GitHub
parent 2cdaf76c40
commit 19f189b4e5
5 changed files with 34 additions and 9 deletions

View File

@ -1190,7 +1190,7 @@ void Planner::check_axes_activity() {
}
#endif
#if PLANNER_LEVELING
#if PLANNER_LEVELING || HAS_UBL_AND_CURVES
/**
* rx, ry, rz - Cartesian positions in mm
* Leveled XYZ on completion
@ -1242,6 +1242,10 @@ void Planner::check_axes_activity() {
#endif
}
#endif
#if PLANNER_LEVELING
void Planner::unapply_leveling(float raw[XYZ]) {
if (leveling_active) {