From 58b8891d41dffe03b9317d0746e2cf56e97afbba Mon Sep 17 00:00:00 2001 From: anschrammh Date: Tue, 8 Dec 2020 23:25:42 +0100 Subject: [PATCH] Changed max read buffer from 2500 to 2048 --- src/app/FTPServer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/FTPServer.h b/src/app/FTPServer.h index 6257351..01448b9 100644 --- a/src/app/FTPServer.h +++ b/src/app/FTPServer.h @@ -6,7 +6,7 @@ #include "definition.h" #include "Dictionary.h" //#define DEBUG_FTPS -#define READ_BUFFER_SIZE 2500 //2500 is max to read sd card, more will crash +#define READ_BUFFER_SIZE 2048 //2048 is max to read sd card, more will crash template class FTPServer : public TCPServer