mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/can: fix typo 'theoritical' -> 'theoretical'
This commit is contained in:
parent
eefcfd16e2
commit
3186c8973f
@ -503,7 +503,7 @@ int can_device_calc_bittiming(uint32_t clock, const struct can_bittiming_const *
|
||||
tseg >= timing_const->tseg1_min + timing_const->tseg2_min; tseg--) {
|
||||
uint32_t nbt = tseg + CAN_SYNC_SEG;
|
||||
|
||||
/* theoritical brp */
|
||||
/* theoretical brp */
|
||||
uint32_t brp = clock / (timing->bitrate * nbt);
|
||||
/* brp according to brp_inc */
|
||||
brp = (brp / timing_const->brp_inc) * timing_const->brp_inc;
|
||||
|
Loading…
Reference in New Issue
Block a user