From 3ab8a2e9a7bb171efbb87af0f045d72aad78d3bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E9=92=A6=E8=A1=97?= <15390014138@163.com> Date: Thu, 13 May 2021 16:09:22 +0800 Subject: [PATCH] update support/platform/src/uart_if.c. --- support/platform/src/uart_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/platform/src/uart_if.c b/support/platform/src/uart_if.c index 94eae00e1..88b1dccb1 100644 --- a/support/platform/src/uart_if.c +++ b/support/platform/src/uart_if.c @@ -128,7 +128,7 @@ static int32_t UartUserReceive(DevHandle handle, void *data, uint32_t size, enum HDF_LOGE("%s: service is invalid", __func__); return HDF_ERR_INVALID_PARAM; } - /* Four bits are used to store the buffer length, and four bits are used to align the memory. */ + /* Four bytes are used to store the buffer length, and four bytes are used to align the memory. */ reply = HdfSBufObtain(size + sizeof(uint64_t)); if (reply == NULL) { HDF_LOGE("%s: failed to obtain reply", __func__); -- Gitee