Apply items specified in code review

Followup to #8122
This commit is contained in:
Scott Lahteine
2017-10-30 14:34:11 -05:00
parent 34be5d33c0
commit 2cdde08339
6 changed files with 19 additions and 62 deletions

View File

@ -3775,9 +3775,8 @@ void kill_screen(const char* lcd_msg) {
void lcd_sdcard_menu() {
ENCODER_DIRECTION_MENUS();
const uint16_t fileCnt = card.get_num_Files(); // Only access SD card if sort not active
// This minimizes garbage on RepRap Discount Full Graphics Smart Controller
// when using the Re-ARM card.
const uint16_t fileCnt = card.get_num_Files();
START_MENU();
MENU_BACK(MSG_MAIN);
card.getWorkDirName();