Browse Source

Merge pull request #1073 from WingTangWong/wing-fix-float-delta

Wing fix float delta
Erik van der Zalm 10 years ago
parent
commit
b360306881
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/Marlin_main.cpp

+ 4
- 0
Marlin/Marlin_main.cpp View File

@@ -318,7 +318,11 @@ bool cancel_heatup = false ;
318 318
 //===========================================================================
319 319
 const char axis_codes[NUM_AXIS] = {'X', 'Y', 'Z', 'E'};
320 320
 static float destination[NUM_AXIS] = {  0.0, 0.0, 0.0, 0.0};
321
+
322
+#ifndef DELTA
321 323
 static float delta[3] = {0.0, 0.0, 0.0};
324
+#endif
325
+
322 326
 static float offset[3] = {0.0, 0.0, 0.0};
323 327
 static bool home_all_axis = true;
324 328
 static float feedrate = 1500.0, next_feedrate, saved_feedrate;

Loading…
Cancel
Save