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
       }
552
       }
553
       else
553
       else
554
         z_fade_factor = 1.0;
554
         z_fade_factor = 1.0;
555
+    #else
556
+        constexpr float z_fade_factor = 1.0;
555
     #endif
557
     #endif
556
 
558
 
557
     #if ENABLED(MESH_BED_LEVELING)
559
     #if ENABLED(MESH_BED_LEVELING)

Loading…
Cancel
Save