Fixed a wrong parament name in printf

This commit is contained in:
unknown
2023-04-20 10:48:19 +08:00
parent e3159c6526
commit 4113ab09c8

View File

@@ -148,7 +148,7 @@ static int ota_http_body_read(int fd, int file_len, unsigned char *buf, size_t b
#define MIN(a, b) ((a) < (b) ? (a) : (b))
printf("file_len is %d, remain_len = %d\r\n", file_len, read_len);
printf("file_len is %d, remain_len = %d\r\n", file_len, remain_len);
while (remain_len > 0) {
read_len = MIN(remain_len, buf_len);