Browse Source

Clean up delta declarations in Marlin_main.cpp

Scott Lahteine 8 years ago
parent
commit
9c4ad7d7ef
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      Marlin/Marlin_main.cpp

+ 1
- 4
Marlin/Marlin_main.cpp View File

@@ -336,9 +336,6 @@ float home_offset[3] = { 0 };
336 336
 // Software Endstops. Default to configured limits.
337 337
 float sw_endstop_min[3] = { X_MIN_POS, Y_MIN_POS, Z_MIN_POS };
338 338
 float sw_endstop_max[3] = { X_MAX_POS, Y_MAX_POS, Z_MAX_POS };
339
-#if ENABLED(DELTA)
340
-  float delta_clip_start_height = Z_MAX_POS;
341
-#endif
342 339
 
343 340
 #if FAN_COUNT > 0
344 341
   int fanSpeeds[FAN_COUNT] = { 0 };
@@ -481,8 +478,8 @@ static uint8_t target_extruder;
481 478
   float delta_diagonal_rod_2_tower_1 = sq(delta_diagonal_rod + delta_diagonal_rod_trim_tower_1);
482 479
   float delta_diagonal_rod_2_tower_2 = sq(delta_diagonal_rod + delta_diagonal_rod_trim_tower_2);
483 480
   float delta_diagonal_rod_2_tower_3 = sq(delta_diagonal_rod + delta_diagonal_rod_trim_tower_3);
484
-  //float delta_diagonal_rod_2 = sq(delta_diagonal_rod);
485 481
   float delta_segments_per_second = DELTA_SEGMENTS_PER_SECOND;
482
+  float delta_clip_start_height = Z_MAX_POS;
486 483
   #if ENABLED(AUTO_BED_LEVELING_FEATURE)
487 484
     int delta_grid_spacing[2] = { 0, 0 };
488 485
     float bed_level[AUTO_BED_LEVELING_GRID_POINTS][AUTO_BED_LEVELING_GRID_POINTS];

Loading…
Cancel
Save