Apply NOLESS/NOMORE

This commit is contained in:
Scott Lahteine
2019-05-26 03:01:43 -05:00
parent b315157053
commit d3bb5b69ba
2 changed files with 2 additions and 2 deletions

View File

@ -798,7 +798,7 @@ void CardReader::setroot() {
// Never sort more than the max allowed
// If you use folders to organize, 20 may be enough
if (fileCnt > SDSORT_LIMIT) fileCnt = SDSORT_LIMIT;
NOMORE(fileCnt, SDSORT_LIMIT);
// Sort order is always needed. May be static or dynamic.
#if ENABLED(SDSORT_DYNAMIC_RAM)