From 16a37a8f34aa631654c7e535777441bb8c0b370e Mon Sep 17 00:00:00 2001 From: chao an Date: Mon, 23 Sep 2024 09:06:09 +0800 Subject: [PATCH] can: Add g_ prefix to can_dlc_to_len and len_to_can_dlc. continue work of f76c2ed83b2b5804ca1275363b954f925492c52d detail: Add g_ prefix to can_dlc_to_len and len_to_can_dlc to follow NuttX coding style conventions for global symbols, improving code readability and maintainability. Signed-off-by: chao an --- Documentation/components/net/socketcan.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/components/net/socketcan.rst b/Documentation/components/net/socketcan.rst index 49b8d97396c85..6ca7ae759c9a6 100644 --- a/Documentation/components/net/socketcan.rst +++ b/Documentation/components/net/socketcan.rst @@ -17,8 +17,8 @@ SocketCAN Device Drivers .. code-block:: c - extern const uint8_t can_dlc_to_len[16]; - extern const uint8_t len_to_can_dlc[65]; + extern const uint8_t g_can_dlc_to_len[16]; + extern const uint8_t g_len_to_can_dlc[65]; - **Initialization sequence is as follows**.