From 59a44d7ff5d1e0bba727c48074fe7ae17234cc37 Mon Sep 17 00:00:00 2001 From: liumin Date: Mon, 27 Apr 2026 15:51:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=8D=E9=A6=88=E7=BB=99?= =?UTF-8?q?=E8=87=AA=E4=B8=BB=E8=AE=A1=E7=AE=97=E6=9C=BA=E9=80=9F=E5=BA=A6?= =?UTF-8?q?=E6=8C=87=E4=BB=A4=E4=B8=BA50ms?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- boards/e3_176_ref/app_demo/eth-xip/sf/interface_ethernet.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/boards/e3_176_ref/app_demo/eth-xip/sf/interface_ethernet.c b/boards/e3_176_ref/app_demo/eth-xip/sf/interface_ethernet.c index 235aee2..8a957ab 100644 --- a/boards/e3_176_ref/app_demo/eth-xip/sf/interface_ethernet.c +++ b/boards/e3_176_ref/app_demo/eth-xip/sf/interface_ethernet.c @@ -498,8 +498,7 @@ void ethernetSendAll(void *signal_id) } un_computer_output.bit_data.crc = (uint8_t)crc_temp; - UdpSendToData(UDPCB_1,(uint8_t *)(&un_computer_output.arr[0]), 11, (uint8_t *)ðernet_parameter.computer_ip[0], COMMUNICATION_PORT); - UdpSendToData(UDPCB_4,(uint8_t *)(&un_computer_output.arr[0]), 11, (uint8_t *)ðernet_parameter.computer_ip[0], COMMUNICATION_PORT); + UdpSendToData(UDPCB_1,(uint8_t *)(&un_computer_output.arr[0]), 11, (uint8_t *)ðernet_parameter.computer_ip[0], COMMUNICATION_PORT); } @@ -520,7 +519,7 @@ static void ethernetInterfaceTimerProcess(void *signal_id) ethernetTimerProcess();//故障判断 - timerStart(ðernet_timer_interface, 100,1); //100ms调用一次 + timerStart(ðernet_timer_interface, 50,1); //100ms调用一次 // printf("ethernetInterface spend time:%d\n",getCurrentTime() - time_boot);//检查app用了多长时间 } @@ -664,7 +663,7 @@ void ethernetInterfaceInit(void) subscribe(&request_send, OnParamSend); - timerStart(ðernet_timer_interface, 100,1); //100ms调用一次 + timerStart(ðernet_timer_interface, 50,1); //100ms调用一次 timerStart(ðernet_timer_interface1, 10,1); //10ms调用一次 printf( "ethernetInterface: initial OK %d\n",getCurrentTime());