Change M20 short name option
This commit is contained in:
parent
0fe8b56ede
commit
a5fb9ef262
2 changed files with 2 additions and 2 deletions
|
|
@ -1258,7 +1258,7 @@
|
||||||
|
|
||||||
// Default M20 File Listing behavior
|
// Default M20 File Listing behavior
|
||||||
#if ENABLED(LONG_FILENAME_HOST_SUPPORT)
|
#if ENABLED(LONG_FILENAME_HOST_SUPPORT)
|
||||||
#define M20_REPORT_DOS_FILENAMES // Include DOS 8.3 filenames in listings by default
|
//#define M20_DEFER_DOS_FILENAMES // Hide DOS 8.3 filenames in listings by default
|
||||||
//#define M20_REPORT_LONG_FILENAMES // Include long filenames in listings by default
|
//#define M20_REPORT_LONG_FILENAMES // Include long filenames in listings by default
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
void GcodeSuite::M20() {
|
void GcodeSuite::M20() {
|
||||||
if (card.flag.mounted) {
|
if (card.flag.mounted) {
|
||||||
card.ls(
|
card.ls(
|
||||||
parser.boolval('S', TERN1(M20_REPORT_DOS_FILENAMES)),
|
parser.boolval('S', DISABLED(M20_DEFER_DOS_FILENAMES)),
|
||||||
parser.boolval('L', ENABLED(M20_REPORT_LONG_FILENAMES))
|
parser.boolval('L', ENABLED(M20_REPORT_LONG_FILENAMES))
|
||||||
);
|
);
|
||||||
if (DISABLED(LONG_FILENAME_HOST_SUPPORT) && parser.boolval('L'))
|
if (DISABLED(LONG_FILENAME_HOST_SUPPORT) && parser.boolval('L'))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue