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

   ## Summary
   arch/sim/sim_canchar.c: fix CAN flags decoding for message
   
   ## Impact
   fix broken logic
   
   ## Testing
   
   examples/can with loopback mode enabled on SIM:
   
   ```
   NuttShell (NSH) NuttX-12.10.0
   nsh> can
   nmsgs: 0
   min ID: 1 max ID: 536870911
   Bit timing not available: 25
     ID:    1 DLC: 1
     ID:    1 DLC: 1
     ID:    1 DLC: 1 -- OK
     ID:    2 DLC: 2
     ID:    2 DLC: 2
     ID:    2 DLC: 2 -- OK
     ID:    3 DLC: 3
     ID:    3 DLC: 3
     ID:    3 DLC: 3 -- OK
     ID:    4 DLC: 4
     ID:    4 DLC: 4
     ID:    4 DLC: 4 -- OK
     ID:    5 DLC: 5
     ID:    5 DLC: 5
     ID:    5 DLC: 5 -- OK
     ID:    6 DLC: 6
     ID:    6 DLC: 6
     ID:    6 DLC: 6 -- OK
     ID:    7 DLC: 7
     ID:    7 DLC: 7
     ID:    7 DLC: 7 -- OK
     ID:    8 DLC: 8
     ID:    8 DLC: 8
     ID:    8 DLC: 8 -- OK
     ID:    9 DLC: 9
     ID:    9 DLC: 9
     ID:    9 DLC: 9 -- OK
   
   ```
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to