Fix some warnings, Melzi pins
This commit is contained in:
committed by
Scott Lahteine
parent
b310047ded
commit
c305c2cc6b
@ -678,7 +678,7 @@ void CardReader::selectFileByIndex(const uint16_t nr) {
|
||||
//
|
||||
void CardReader::selectFileByName(const char * const match) {
|
||||
#if ENABLED(SDSORT_CACHE_NAMES)
|
||||
for (int nr = 0; nr < sort_count; nr++)
|
||||
for (uint16_t nr = 0; nr < sort_count; nr++)
|
||||
if (strcasecmp(match, sortshort[nr]) == 0) {
|
||||
strcpy(filename, sortshort[nr]);
|
||||
strcpy(longFilename, sortnames[nr]);
|
||||
|
Reference in New Issue
Block a user