Other small tweaks

master
Scott Lahteine 10 years ago
parent 63e1665fa9
commit 1857e611d3

@ -91,9 +91,9 @@ void CardReader::lsDive(const char *prepend, SdFile parent, const char * const m
{ {
char pn0 = p.name[0]; char pn0 = p.name[0];
if (pn0 == DIR_NAME_FREE) break; if (pn0 == DIR_NAME_FREE) break;
if (pn0 == DIR_NAME_DELETED || pn0 == '.'|| pn0 == '_') continue; if (pn0 == DIR_NAME_DELETED || pn0 == '.' || pn0 == '_') continue;
if (longFilename[0] != '\0' && char lf0 = longFilename[0];
(longFilename[0] == '.' || longFilename[0] == '_')) continue; if (lf0 == '.' || lf0 == '_') continue;
if (!DIR_IS_FILE_OR_SUBDIR(&p)) continue; if (!DIR_IS_FILE_OR_SUBDIR(&p)) continue;
filenameIsDir=DIR_IS_SUBDIR(&p); filenameIsDir=DIR_IS_SUBDIR(&p);

@ -261,7 +261,7 @@ static void lcd_status_screen()
if (feedmultiply < 10) if (feedmultiply < 10)
feedmultiply = 10; feedmultiply = 10;
if (feedmultiply > 999) else if (feedmultiply > 999)
feedmultiply = 999; feedmultiply = 999;
#endif//ULTIPANEL #endif//ULTIPANEL
} }

Loading…
Cancel
Save