fix:修复UDP通讯长数据丢包问题

This commit is contained in:
2026-05-06 15:22:21 +08:00
parent e8987abe14
commit f858a672a4
9 changed files with 273 additions and 60 deletions

View File

@@ -11,6 +11,7 @@
/* Includes ------------------------------------------------------------------*/
#include "YkcTask.h"
#include "ChargerTask.h"
#include "lwip/opt.h"
#include "lwip/api.h"
#include "lwip/sys.h"
@@ -83,7 +84,8 @@ void YkcTask_Function(void const *argument)
case 3:
{
charger_to_server_0X13(1, 1); // 上传状态
osDelay(15000);
local_on_cmd_send_start_charging(1,1);
osDelay(3000);
}
break;
default: