Browse Source

delta[3] not used when DELTA not defined.

got:
Marlin_main.cpp:387: warning: 'delta' defined but not used

Compiles cleaner when definition is removed.
AnHardt 10 years ago
parent
commit
e90985a4e8
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      Marlin/Marlin_main.cpp

+ 0
- 4
Marlin/Marlin_main.cpp View File

@@ -383,10 +383,6 @@ const char echomagic[] PROGMEM = "echo:";
383 383
 const char axis_codes[NUM_AXIS] = {'X', 'Y', 'Z', 'E'};
384 384
 static float destination[NUM_AXIS] = { 0, 0, 0, 0 };
385 385
 
386
-#ifndef DELTA
387
-  static float delta[3] = { 0, 0, 0 };
388
-#endif
389
-
390 386
 static float offset[3] = { 0, 0, 0 };
391 387
 static bool home_all_axis = true;
392 388
 static float feedrate = 1500.0, next_feedrate, saved_feedrate;

Loading…
Cancel
Save