Browse Source

Encoder events should not skip stripes

Scott Lahteine 8 years ago
parent
commit
b031d28ebf
1 changed files with 7 additions and 4 deletions
  1. 7
    4
      Marlin/ultralcd.cpp

+ 7
- 4
Marlin/ultralcd.cpp View File

3005
 
3005
 
3006
           encoderPosition += (encoderDiff * encoderMultiplier) / ENCODER_PULSES_PER_STEP;
3006
           encoderPosition += (encoderDiff * encoderMultiplier) / ENCODER_PULSES_PER_STEP;
3007
           encoderDiff = 0;
3007
           encoderDiff = 0;
3008
-          #if ENABLED(DOGLCD)
3009
-            drawing_screen = false;  // refresh the complete screen for a encoder change (different menu-item/value)
3010
-          #endif
3011
         }
3008
         }
3012
         return_to_status_ms = ms + LCD_TIMEOUT_TO_STATUS;
3009
         return_to_status_ms = ms + LCD_TIMEOUT_TO_STATUS;
3013
-        lcdDrawUpdate = LCDVIEW_REDRAW_NOW;
3010
+        lcdDrawUpdate =
3011
+          #if ENABLED(DOGLCD)
3012
+            LCDVIEW_CALL_REDRAW_NEXT
3013
+          #else
3014
+            LCDVIEW_REDRAW_NOW
3015
+          #endif
3016
+        ;
3014
       }
3017
       }
3015
     #endif // ULTIPANEL
3018
     #endif // ULTIPANEL
3016
 
3019
 

Loading…
Cancel
Save