Browse Source

Update bilinear for native workspace

Scott Lahteine 6 years ago
parent
commit
cc4d28b73c
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/bedlevel/abl/abl.cpp

+ 1
- 1
Marlin/src/feature/bedlevel/abl/abl.cpp View File

@@ -359,7 +359,7 @@ float bilinear_z_offset(const float raw[XYZ]) {
359 359
 
360 360
 #if !IS_KINEMATIC
361 361
 
362
-  #define CELL_INDEX(A,V) ((RAW_##A##_POSITION(V) - bilinear_start[A##_AXIS]) * ABL_BG_FACTOR(A##_AXIS))
362
+  #define CELL_INDEX(A,V) ((V - bilinear_start[A##_AXIS]) * ABL_BG_FACTOR(A##_AXIS))
363 363
 
364 364
   /**
365 365
    * Prepare a bilinear-leveled linear move on Cartesian,

Loading…
Cancel
Save