ソースを参照

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 9年前
コミット
e90985a4e8
1個のファイルの変更0行の追加4行の削除
  1. 0
    4
      Marlin/Marlin_main.cpp

+ 0
- 4
Marlin/Marlin_main.cpp ファイルの表示

@@ -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;

読み込み中…
キャンセル
保存