Skip to content

Commit 9cd4854

Browse files
authored
Update can_api.c
Modified comment as discussed.
1 parent 581cd80 commit 9cd4854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_STM/can_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ int can_frequency(can_t *obj, int f)
333333

334334
uint32_t nominalPrescaler = 1;
335335
// !When the sample point should be lower than 50%, this must be changed to
336-
// !IS_FDCAN_DATA_TSEG2(ntq/nominalPrescaler), since
336+
// !IS_FDCAN_NOMINAL_TSEG2(ntq/nominalPrescaler), since
337337
// NTSEG2 and SJW max values are lower. For now the sample point is fix @75%
338338
while (!IS_FDCAN_NOMINAL_TSEG1(ntq / nominalPrescaler)) {
339339
nominalPrescaler ++;

0 commit comments

Comments
 (0)