瀏覽代碼

reduce SCRATCH_BUFSIZE to fix upload errors

Frank Haverland 4 年之前
父節點
當前提交
aa72cab84f
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  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 */