Browse Source

Suppress compiler warning

pull/1/head
Scott Lahteine 6 years ago
parent
commit
bb0bcbaec0
  1. 2
      Marlin/src/sd/cardreader.cpp

2
Marlin/src/sd/cardreader.cpp

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

Loading…
Cancel
Save