Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
5c9d202871
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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};