Browse Source

Use MIN/MAX for min/max

Scott Lahteine 6 years ago
parent
commit
97da6c1da5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/calibrate/M425.cpp

+ 1
- 1
Marlin/src/gcode/calibrate/M425.cpp View File

74
 
74
 
75
   if (parser.seen('F')) {
75
   if (parser.seen('F')) {
76
     planner.synchronize();
76
     planner.synchronize();
77
-    backlash_correction = max(0, min(1.0, parser.value_linear_units()));
77
+    backlash_correction = MAX(0, MIN(1.0, parser.value_linear_units()));
78
     noArgs = false;
78
     noArgs = false;
79
   }
79
   }
80
 
80
 

Loading…
Cancel
Save