From 39d2d32cebf2331231a3ec401b9a84861ee106c8 Mon Sep 17 00:00:00 2001 From: David Lin Date: Sat, 7 Mar 2020 09:08:42 +0800 Subject: [PATCH] Fixed wrong parameter in debug information --- .../port/TencentOS_tiny/HAL_UDP_module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/connectivity/qcloud-iot-hub-sdk-3.1.2/port/TencentOS_tiny/HAL_UDP_module.c b/components/connectivity/qcloud-iot-hub-sdk-3.1.2/port/TencentOS_tiny/HAL_UDP_module.c index d00f0568..43fc2180 100644 --- a/components/connectivity/qcloud-iot-hub-sdk-3.1.2/port/TencentOS_tiny/HAL_UDP_module.c +++ b/components/connectivity/qcloud-iot-hub-sdk-3.1.2/port/TencentOS_tiny/HAL_UDP_module.c @@ -80,7 +80,7 @@ int HAL_UDP_Read(uintptr_t fd, unsigned char *p_data, unsigned int datalen) { int ret; - Log_i("osal_udp_read len %d timeout %d\r\n", datalen); + Log_i("osal_udp_read len %d\r\n", datalen); ret = tos_sal_module_recvfrom(fd, p_data, datalen); @@ -99,7 +99,7 @@ int HAL_UDP_ReadTimeout(uintptr_t fd, unsigned char *p_data, unsigned int datale { int ret; - Log_i("osal_udp_read len %d timeout %d\r\n", datalen); + Log_i("osal_udp_read len %d timeout %d\r\n", datalen, timeout_ms); ret = tos_sal_module_recvfrom_timeout(fd, p_data, datalen, timeout_ms);