✨ Enable 'M20 L' with LONG_FILENAME_HOST_SUPPORT (#22271)

This commit is contained in:
Mihai authored and Scott Lahteine committed 2021-07-17 02:32:25 -05:00
1 parent a35c234ce1
commit ee64081696
3 files changed
+70 -35

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@
void GcodeSuite::M20() {
if (card.flag.mounted) {
SERIAL_ECHOLNPGM(STR_BEGIN_FILE_LIST);
card.ls();
card.ls(TERN_(LONG_FILENAME_HOST_SUPPORT, parser.boolval('L')));
SERIAL_ECHOLNPGM(STR_END_FILE_LIST);
}
else