Browse Source

Added #ifndef DELTA wrapper to float delta

Wing Tang Wong 11 years ago
parent
commit
88d12a762a
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Marlin/Marlin_main.cpp

+ 3
- 0
Marlin/Marlin_main.cpp View File

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

Loading…
Cancel
Save