Tweak and use SD_ORDER
This commit is contained in:
1 parent
6dd2b1210f
commit
e90bbb37d4
4 files changed
+17
-11
No files matched your search
@@ -126,7 +126,7 @@ void menu_media() {
|
||||
|
||||
if (ui.should_draw()) for (uint16_t i = 0; i < fileCnt; i++) {
|
||||
if (_menuLineNr == _thisItemNr) {
|
||||
card.getfilename_sorted(i);
|
||||
card.getfilename_sorted(SD_ORDER(i, fileCnt));
|
||||
if (card.flag.filenameIsDir)
|
||||
MENU_ITEM(sdfolder, MSG_MEDIA_MENU, card);
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user