Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
5c9d202871
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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};