initi sort order loop

This commit is contained in:
PavelSindler 2017-10-25 16:57:26 +02:00
parent 98e203294d
commit 7968d1b3cb
1 changed files with 1 additions and 0 deletions

View File

@ -834,6 +834,7 @@ void CardReader::presort() {
if (fileCnt > 1) {
// Init sort order.
for (uint16_t i = 0; i < fileCnt; i++) {
if (!IS_SD_INSERTED) return;
manage_heater();
sort_order[i] = i;