diff options
author | BIGTREETECH <38851044+bigtreetech@users.noreply.github.com> | 2022-06-01 22:43:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-01 10:43:45 -0400 |
commit | 1ff72612033de0f4b857d960358c88eaa1046e4b (patch) | |
tree | 35c0a6a6a7a30873701c3b498d50ee7eeac557e5 /src/stm32/can.c | |
parent | af38d708cb3fad993422b8cf6bf4880acda568a3 (diff) | |
download | kutter-1ff72612033de0f4b857d960358c88eaa1046e4b.tar.gz kutter-1ff72612033de0f4b857d960358c88eaa1046e4b.tar.xz kutter-1ff72612033de0f4b857d960358c88eaa1046e4b.zip |
stm32: stm32g0b1 fdcan support (#5488)
Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
Diffstat (limited to 'src/stm32/can.c')
-rw-r--r-- | src/stm32/can.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/can.c b/src/stm32/can.c index 613c1f27..ff88edb9 100644 --- a/src/stm32/can.c +++ b/src/stm32/can.c @@ -252,7 +252,7 @@ compute_btr(uint32_t pclock, uint32_t bitrate) uint32_t bit_clocks = pclock / bitrate; // clock ticks per bit - uint32_t sjw = 2; + uint32_t sjw = 2; uint32_t qs; // Find number of time quantas that gives us the exact wanted bit time for (qs = 18; qs > 9; qs--) { |