Revert "drivers: can: stm32: Change TX priority to chronological order"
This reverts commit 82a1661c99
.
Fixes: #26541
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
9c768d83bf
commit
64c7f75916
1 changed files with 1 additions and 4 deletions
|
@ -481,11 +481,8 @@ static int can_stm32_init(const struct device *dev)
|
|||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(can2), okay)
|
||||
master_can->FMR &= ~CAN_FMR_CAN2SB; /* Assign all filters to CAN2 */
|
||||
#endif
|
||||
|
||||
/* Set TX priority to chronological order */
|
||||
can->MCR |= CAN_MCR_TXFP;
|
||||
can->MCR &= ~CAN_MCR_TTCM & ~CAN_MCR_ABOM & ~CAN_MCR_AWUM &
|
||||
~CAN_MCR_NART & ~CAN_MCR_RFLM;
|
||||
~CAN_MCR_NART & ~CAN_MCR_RFLM & ~CAN_MCR_TXFP;
|
||||
#ifdef CONFIG_CAN_RX_TIMESTAMP
|
||||
can->MCR |= CAN_MCR_TTCM;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue