Fixed wrong parameter in debug information

This commit is contained in:
David Lin
2020-03-07 09:08:42 +08:00
committed by GitHub
parent a52cea4354
commit 39d2d32ceb

View File

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