can: Add g_ prefix to can_dlc_to_len and len_to_can_dlc.

continue work of f76c2ed83b

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 <anchao@lixiang.com>
This commit is contained in:
chao an 2024-09-23 09:06:09 +08:00 committed by Xiang Xiao
parent 58f25a31a1
commit 037baee4fb

View File

@ -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**.