You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "OceanfromXiaomi (via GitHub)" <gi...@apache.org> on 2026/01/08 08:48:43 UTC

[PR] lin: adjust the LIN flag [nuttx]

OceanfromXiaomi opened a new pull request, #17804:
URL: https://github.com/apache/nuttx/pull/17804

   Fix incorrect and non-existent flag usage in LIN handling:
   
   - Replace undefined CANFD_FLAGS_BITS usage with valid bit definitions.
   - Reassign CAN_TCF_FLAG to an available flag bit, as it is not defined in can.h.
   - Add an identifier for LIN noise error frames.
   
   *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Summary
   
   This change fixes several issues in LIN flag handling where undefined or
   incorrect CAN flag definitions were used.
   
   Specifically, it replaces non-existent flag macros with valid bit values,
   reassigns flags to available bits, and adds a new identifier for LIN noise
   error frames.
   
   ## Impact
   
   - Fixes incorrect flag usage without changing external APIs.
   - Improves correctness of LIN/CAN flag handling.
   - No impact on build process, security, or compatibility.
   
   ## Testing
   
   - Built successfully with LIN support enabled.
   - Verified LIN communication behavior using existing test setup.
   - No regressions observed in CAN/LIN related functionality.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] lin: adjust the LIN flag [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #17804:
URL: https://github.com/apache/nuttx/pull/17804


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org