Skip to content

Commit

Permalink
Fix SDCARD_SORT_ALPHA on Ender 3 V2 (MarlinFirmware#20443)
Browse files Browse the repository at this point in the history
  • Loading branch information
leodoener authored and dpreed committed Feb 5, 2021
1 parent 0603687 commit cbd08a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/dwin/e3v2/dwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1690,7 +1690,7 @@ inline void Draw_SDItem(const uint16_t item, int16_t row=-1) {
return;
}

card.getfilename_sorted(item - is_subdir);
card.getfilename_sorted(SD_ORDER(item - is_subdir, card.get_num_Files()));
char * const name = card.longest_filename();

#if ENABLED(SCROLL_LONG_FILENAMES)
Expand Down

0 comments on commit cbd08a4

Please sign in to comment.