修复ota可能无法使用的问题

This commit is contained in:
Your Name
2025-04-12 16:03:34 +08:00
parent 34e1cabc53
commit 5623b632c7
6 changed files with 155 additions and 129 deletions

View File

@@ -257,7 +257,7 @@ static void OtaServerThread(mico_thread_arg_t arg)
InitMd5(&md5);
}
httpHeader = HTTPHeaderCreateWithCallback(1024, OnReceivedData, NULL, NULL);
httpHeader = HTTPHeaderCreateWithCallback(512, OnReceivedData, NULL, NULL);
require_action(httpHeader, DELETE, OtaServerProgressSet(OTA_FAIL));
while (1)