Skip to content
Commit d2607f09 authored by Andriy Gelman's avatar Andriy Gelman Committed by Anas Nashif
Browse files

drivers: can: mcp251xfd: Use macro to set TDCO



Use CAN_CALC_TDCO() macro to set TDCO. There is a minor change how the
tdco is calculated. In the macro the SYNC segement is taken into
account while it wasn't used before.

Fixes #73821.

Signed-off-by: default avatarAndriy Gelman <andriy.gelman@gmail.com>
parent 83958eb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment