Added some minor changes.

This commit is contained in:
maxxir_w
2019-04-05 13:24:49 +04:00
parent 1651f33b87
commit eb6d698df3
5 changed files with 41 additions and 18 deletions

View File

@@ -29,9 +29,11 @@ static FATFS Fatfs; //File system object for each logical drive. >= 2
//******************************* Fat FS declare related: END
#define HTTPD_MAX_BUF_SIZE 2048 //For Mega1284p(16kb RAM)/Mega2560(8kb RAM)
//#define HTTPD_MAX_BUF_SIZE 2048 //For Mega1284p(16kb RAM)/Mega2560(8kb RAM)
//#define HTTPD_MAX_BUF_SIZE MAX_URI_SIZE+10 //For Mega644p(4kb RAM)/Mega128(4kb RAM) (ie. 512+10=522 bytes look at httpParser.h <_st_http_request> definition)
#define LOOPBACK_DATA_BUF_SIZE 512
#define PRINTF_EN 1
#if PRINTF_EN
#define PRINTF(FORMAT,args...) printf_P(PSTR(FORMAT),##args)
@@ -66,4 +68,7 @@ extern const char str_prog_name[] PROGMEM;
extern wiz_NetInfo netInfo;
#define CHK_RAM_LEAKAGE
#define CHK_UPTIME
#endif /* GLOBALS_H_ */