forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: can: mcux: mcan: use bosch m_can timing parameter initializers
Some NXP SoC reference manuals contain a bug regarding the minimum values for nominal phase segments. Valid Bosch M_CAN nominal phase segment register values are 1 and up. Same goes for the maximum value for data phase segment 2. Here, valid Bosch M_CAN register values are 0 to 31. Using the static initializers fixes these. Fixes: zephyrproject-rtos#58429 Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
- Loading branch information
1 parent
6b13900
commit 1871fa7
Showing
1 changed file
with
12 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters