Skew Correction for UBL

Also remove unused grid slicing function when using UBL segmented.
This commit is contained in:
Scott Lahteine
2017-12-09 07:50:55 -06:00
parent 3d796d8040
commit 3255712343
4 changed files with 53 additions and 38 deletions

View File

@ -321,8 +321,8 @@ class unified_bed_leveling {
return i < GRID_MAX_POINTS_Y ? pgm_read_float(&_mesh_index_to_ypos[i]) : MESH_MIN_Y + i * (MESH_Y_DIST);
}
static bool prepare_segmented_line_to(const float rtarget[XYZE], const float &feedrate);
static void line_to_destination_cartesian(const float &fr, const uint8_t e);
static bool prepare_segmented_line_to(const float (&rtarget)[XYZE], const float &feedrate);
#define _CMPZ(a,b) (z_values[a][b] == z_values[a][b+1])
#define CMPZ(a) (_CMPZ(a, 0) && _CMPZ(a, 1))