Skip to content
Commit 09f45840 authored by Thomas Stranger's avatar Thomas Stranger Committed by Fabio Baltieri
Browse files

drivers/can: stm32fd fix not applied clock divider



The configurable CAN clock divider CAN_STM32FD_CLOCK_DIVISOR
was not applied during initialization, because write protection
was not disabled.

While the clock divider was not applied, it was still used in clock rate
calculation, therefore resulting in incorrect bus speed setup.

Signed-off-by: default avatarThomas Stranger <thomas.stranger@outlook.com>
parent a5cc6c2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment