Browse Source

Fix redraw in SD Card menus

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

+ 4
- 0
Marlin/ultralcd.cpp View File

1992
     void lcd_sd_updir() {
1992
     void lcd_sd_updir() {
1993
       card.updir();
1993
       card.updir();
1994
       encoderTopLine = 0;
1994
       encoderTopLine = 0;
1995
+      screen_changed = true;
1996
+      lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
1995
     }
1997
     }
1996
 
1998
 
1997
     /**
1999
     /**
2464
       UNUSED(longFilename);
2466
       UNUSED(longFilename);
2465
       card.chdir(filename);
2467
       card.chdir(filename);
2466
       encoderPosition = 0;
2468
       encoderPosition = 0;
2469
+      screen_changed = true;
2470
+      lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
2467
     }
2471
     }
2468
 
2472
 
2469
   #endif //SDSUPPORT
2473
   #endif //SDSUPPORT

Loading…
Cancel
Save