Bläddra i källkod

Update bilinear for native workspace

Scott Lahteine 6 år sedan
förälder
incheckning
cc4d28b73c
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      Marlin/src/feature/bedlevel/abl/abl.cpp

+ 1
- 1
Marlin/src/feature/bedlevel/abl/abl.cpp Visa fil

@@ -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,

Laddar…
Avbryt
Spara