Skip to content

Commit

Permalink
can: Add g_ prefix to can_dlc_to_len and len_to_can_dlc.
Browse files Browse the repository at this point in the history
continue work of f76c2ed

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 <[email protected]>
  • Loading branch information
anchao committed Sep 23, 2024
1 parent e4a0470 commit 16a37a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/components/net/socketcan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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**.

Expand Down

0 comments on commit 16a37a8

Please sign in to comment.