Change MAX_DIR_DEPTH from 10 to 6

You can't run M23 with so many directories as the length of the command will exceed the maximum allowed by cmdqueue
This commit is contained in:
Alex Voinea 2021-02-02 19:08:19 +02:00
parent f7fd7a5331
commit 5c9d202871
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
#ifdef SDSUPPORT
#define MAX_DIR_DEPTH 10
#define MAX_DIR_DEPTH 6
#include "SdFile.h"
enum LsAction {LS_SerialPrint,LS_SerialPrint_LFN,LS_Count,LS_GetFilename};