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());