Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1341 
was reviewed by Pavel Pisa

--
  
Pavel Pisa started a new discussion on cpukit/dev/can/dcan/dcan.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1341#note_153895

 > +    if ( rtems_can_test_bit( RTEMS_CAN_CHIP_RUNNING, &chip->flags ) ) {
 > +      dcan_process_interrupts( chip );
 > +    }

If the chip is not running then the pending Tx messages should be aborted.
```
if ( rtems_can_test_bit( RTEMS_CAN_CHIP_RUNNING, &chip->flags ) == 0 ) {
      /* Abort all filled HW buffers. */
      for ( int i = 0; i < internal->txb_prio_tail[ 0 ]; i++ ) {
        txtb_id = ctucanfd_txb_from_order( internal->txb_order, i );
```


-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1341
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/sent_notifications/4-aahjnejq3rcbj5j92bcz2r892-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to