|
@ -4173,9 +4173,6 @@ inline void gcode_G28() { |
|
|
#elif ENABLED(AUTO_BED_LEVELING_BILINEAR) |
|
|
#elif ENABLED(AUTO_BED_LEVELING_BILINEAR) |
|
|
|
|
|
|
|
|
zoffset = code_seen('Z') ? code_value_axis_units(Z_AXIS) : 0; |
|
|
zoffset = code_seen('Z') ? code_value_axis_units(Z_AXIS) : 0; |
|
|
#if HAS_BED_PROBE |
|
|
|
|
|
zoffset += zprobe_zoffset; |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
@ -4350,7 +4347,7 @@ inline void gcode_G28() { |
|
|
|
|
|
|
|
|
#elif ENABLED(AUTO_BED_LEVELING_BILINEAR) |
|
|
#elif ENABLED(AUTO_BED_LEVELING_BILINEAR) |
|
|
|
|
|
|
|
|
bed_level_grid[xCount][yCount] = measured_z; |
|
|
bed_level_grid[xCount][yCount] = measured_z + zoffset; |
|
|
|
|
|
|
|
|
#elif ENABLED(AUTO_BED_LEVELING_3POINT) |
|
|
#elif ENABLED(AUTO_BED_LEVELING_3POINT) |
|
|
|
|
|
|
|
@ -4522,7 +4519,7 @@ inline void gcode_G28() { |
|
|
|
|
|
|
|
|
#elif ENABLED(AUTO_BED_LEVELING_BILINEAR) |
|
|
#elif ENABLED(AUTO_BED_LEVELING_BILINEAR) |
|
|
|
|
|
|
|
|
bed_level_grid[xCount][yCount] = measured_z; |
|
|
bed_level_grid[xCount][yCount] = measured_z + zoffset; |
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|