增加升级固件包缓存空间

This commit is contained in:
zhangsheng 2024-11-21 14:42:48 +08:00
parent 8d3f3bdc65
commit aec0bdb13b

View File

@ -14,8 +14,8 @@ extern zlog_category_t* zct;
extern zlog_category_t* zbt;
#define IN_LEN (128*1024ul)
#define OUT_LEN (IN_LEN + IN_LEN / 16 + 64 + 3)
unsigned char fw_outdata[50000]={0};
unsigned char fw_senddata[50000]={0};
unsigned char fw_outdata[70000]={0};
unsigned char fw_senddata[70000]={0};
/* Work-memory needed for compression. Allocate memory in units
* of 'lzo_align_t' (instead of 'char') to make sure it is properly aligned.