Browse Source

Rename z_offset local to zoffset

Scott Lahteine 9 years ago
parent
commit
cfcd3d7b3e
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/Marlin_main.cpp

+ 3
- 3
Marlin/Marlin_main.cpp View File

3131
       #if ENABLED(DELTA)
3131
       #if ENABLED(DELTA)
3132
         delta_grid_spacing[0] = xGridSpacing;
3132
         delta_grid_spacing[0] = xGridSpacing;
3133
         delta_grid_spacing[1] = yGridSpacing;
3133
         delta_grid_spacing[1] = yGridSpacing;
3134
-        float z_offset = zprobe_zoffset;
3135
-        if (code_seen(axis_codes[Z_AXIS])) z_offset += code_value();
3134
+        float zoffset = zprobe_zoffset;
3135
+        if (code_seen(axis_codes[Z_AXIS])) zoffset += code_value();
3136
       #else // !DELTA
3136
       #else // !DELTA
3137
         /**
3137
         /**
3138
          * solve the plane equation ax + by + d = z
3138
          * solve the plane equation ax + by + d = z
3222
             eqnAMatrix[probePointCounter + 2 * abl2] = 1;
3222
             eqnAMatrix[probePointCounter + 2 * abl2] = 1;
3223
             indexIntoAB[xCount][yCount] = probePointCounter;
3223
             indexIntoAB[xCount][yCount] = probePointCounter;
3224
           #else
3224
           #else
3225
-            bed_level[xCount][yCount] = measured_z + z_offset;
3225
+            bed_level[xCount][yCount] = measured_z + zoffset;
3226
           #endif
3226
           #endif
3227
 
3227
 
3228
           probePointCounter++;
3228
           probePointCounter++;

Loading…
Cancel
Save