소스 검색

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
Alex Voinea 3 년 전
부모
커밋
5c9d202871
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Firmware/cardreader.h

+ 1 - 1
Firmware/cardreader.h

@@ -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};