From 8cbe6f7005ce9ef7a26a82dd1c1f7163eb8764f5 Mon Sep 17 00:00:00 2001 From: liumin Date: Mon, 29 Dec 2025 14:25:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=89=93=E5=8D=B0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ETH/UdpServer/User/interface_etherent.c | 2 +- ETH/UdpServer/User/interface_uart.c | 2 +- ETH/UdpServer/app/app_param_manage.c | 2 +- ETH/UdpServer/app/app_request.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ETH/UdpServer/User/interface_etherent.c b/ETH/UdpServer/User/interface_etherent.c index fc694c0..137c163 100644 --- a/ETH/UdpServer/User/interface_etherent.c +++ b/ETH/UdpServer/User/interface_etherent.c @@ -210,7 +210,7 @@ void WCHNET_UdpServerRecv1(struct _SCOK_INF *socinf, u32 ipaddr, u16 port, u8 *b if( (0x80 == buf[0]) && (0x00 == buf[1]) ) { memcpy((uint8_t *)&(un_request_frame.arr[0]),buf, sizeof(UnRequestFrame)); - printf("read_id = %d \r\n",request_read_id); +// printf("read_id = %d \r\n",request_read_id); //20250412 保存请求者信息 for (uint8_t i = 0; i < 4; i++) { diff --git a/ETH/UdpServer/User/interface_uart.c b/ETH/UdpServer/User/interface_uart.c index 44010d8..01c1b28 100644 --- a/ETH/UdpServer/User/interface_uart.c +++ b/ETH/UdpServer/User/interface_uart.c @@ -393,7 +393,7 @@ void initUart(void) NVIC_Init(&NVIC_InitStructure); USART_Cmd(UART6, ENABLE); -/* UART7 TX-->C.2 RX-->C.3 *///???982??com2 +/* UART7 TX-->C.2 RX-->C.3 *///???982??com2 读取GGA数据 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; diff --git a/ETH/UdpServer/app/app_param_manage.c b/ETH/UdpServer/app/app_param_manage.c index 39a767b..a32402a 100644 --- a/ETH/UdpServer/app/app_param_manage.c +++ b/ETH/UdpServer/app/app_param_manage.c @@ -309,7 +309,7 @@ void OnParamSignal(void *data) uint16_t request_id = ((uint16_t)datagram[7] << 8) | (uint16_t)datagram[8];// 澶х妯″紡 // 璋冭瘯杈撳嚭 - printf("Received request ID: 0x%04X\n", request_id); +// printf("Received request ID: 0x%04X\n", request_id); // 璁$畻CRC uint8_t calculatedCrc = calculateCRC(datagram, sizeof(UnParamRequest) - 1); diff --git a/ETH/UdpServer/app/app_request.c b/ETH/UdpServer/app/app_request.c index 1fcb31a..f5b0708 100644 --- a/ETH/UdpServer/app/app_request.c +++ b/ETH/UdpServer/app/app_request.c @@ -25,7 +25,7 @@ static void requestInput(void *signal_id) if(signal_id == &un_request_frame) { processRequestframe(REQUEST_READ_ID); - printf("request ID"); +// printf("request ID"); } else{} }