aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/can.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32/can.c')
-rw-r--r--src/stm32/can.c2
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--) {