Update debugging code
This commit is contained in:
parent
1c1ff722c0
commit
54b2edbc8c
|
|
@ -943,6 +943,12 @@ void CardReader::presort() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SORTING_DUMP
|
||||||
|
for (uint16_t z = 0; z < fileCnt; z++)
|
||||||
|
printf_P(PSTR("%2u "), sort_order[z]);
|
||||||
|
SERIAL_PROTOCOLLN();
|
||||||
|
#endif
|
||||||
|
|
||||||
#else //Bubble Sort
|
#else //Bubble Sort
|
||||||
uint32_t counter = 0;
|
uint32_t counter = 0;
|
||||||
|
|
@ -972,7 +978,6 @@ void CardReader::presort() {
|
||||||
}
|
}
|
||||||
counter++;
|
counter++;
|
||||||
|
|
||||||
//MYSERIAL.println(int(i));
|
|
||||||
for (uint16_t j = 0; j < i; ++j) {
|
for (uint16_t j = 0; j < i; ++j) {
|
||||||
if (!IS_SD_INSERTED) return;
|
if (!IS_SD_INSERTED) return;
|
||||||
#ifdef SORTING_DUMP
|
#ifdef SORTING_DUMP
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue