Merge pull request #11 from bridadan/feature/enable_tx_fifo_priority

Enable CAN FIFO Transmit priority
This commit is contained in:
normaldotcom 2021-03-02 22:32:39 -05:00 committed by GitHub
commit 8ca5d39d63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ void can_enable(void)
can_handle.Init.AutoWakeUp = DISABLE;
can_handle.Init.AutoRetransmission = can_autoretransmit;
can_handle.Init.ReceiveFifoLocked = DISABLE;
can_handle.Init.TransmitFifoPriority = DISABLE;
can_handle.Init.TransmitFifoPriority = ENABLE;
HAL_CAN_Init(&can_handle);
HAL_CAN_ConfigFilter(&can_handle, &filter);