mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +08:00
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:
@@ -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**.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user