Enable CAN FIFO Transmit priority
This is required for segmented transmission, which is used in ISO 15765-2 (ISO-TP).
This commit is contained in:
parent
8c005eb537
commit
7b06b04fe7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue