Browse Source

reduce SCRATCH_BUFSIZE to fix upload errors

Frank Haverland 4 năm trước cách đây
mục cha
commit
aa72cab84f
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  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 */