Browse Source

Merge pull request #5338 from thinkyhead/rc_fix_fade_factor

Fix compile without ENABLE_LEVELING_FADE_HEIGHT
Scott Lahteine 8 years ago
parent
commit
14b1500525
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/planner.cpp

+ 2
- 0
Marlin/planner.cpp View File

@@ -552,6 +552,8 @@ void Planner::check_axes_activity() {
552 552
       }
553 553
       else
554 554
         z_fade_factor = 1.0;
555
+    #else
556
+        constexpr float z_fade_factor = 1.0;
555 557
     #endif
556 558
 
557 559
     #if ENABLED(MESH_BED_LEVELING)

Loading…
Cancel
Save