Browse Source

Merge pull request #534 from xifle/Marlin_v1

Fixes compiler warning for feedrate deadzone
daid 11 years ago
parent
commit
acb3271c9a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/ultralcd.cpp

+ 2
- 2
Marlin/ultralcd.cpp View File

@@ -173,8 +173,8 @@ static void lcd_status_screen()
173 173
     }
174 174
 
175 175
     // Dead zone at 100% feedrate
176
-    if (feedmultiply < 100 && (feedmultiply + int(encoderPosition)) > 100 ||
177
-            feedmultiply > 100 && (feedmultiply + int(encoderPosition)) < 100)
176
+    if ((feedmultiply < 100 && (feedmultiply + int(encoderPosition)) > 100) ||
177
+            (feedmultiply > 100 && (feedmultiply + int(encoderPosition)) < 100))
178 178
     {
179 179
         encoderPosition = 0;
180 180
         feedmultiply = 100;

Loading…
Cancel
Save