fix:修复UDP通讯长数据丢包问题
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user