Explorar el Código

reduce SCRATCH_BUFSIZE to fix upload errors

Frank Haverland hace 3 años
padre
commit
aa72cab84f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      code/components/jomjol_fileserver_ota/server_file.cpp

+ 1 - 1
code/components/jomjol_fileserver_ota/server_file.cpp

@@ -54,7 +54,7 @@ extern "C" {
 
 
 /* Scratch buffer size */
-#define SCRATCH_BUFSIZE  8192 
+#define SCRATCH_BUFSIZE  4096 
 
 struct file_server_data {
     /* Base path of file storage */