We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 581cd80 commit 9cd4854Copy full SHA for 9cd4854
targets/TARGET_STM/can_api.c
@@ -333,7 +333,7 @@ int can_frequency(can_t *obj, int f)
333
334
uint32_t nominalPrescaler = 1;
335
// !When the sample point should be lower than 50%, this must be changed to
336
- // !IS_FDCAN_DATA_TSEG2(ntq/nominalPrescaler), since
+ // !IS_FDCAN_NOMINAL_TSEG2(ntq/nominalPrescaler), since
337
// NTSEG2 and SJW max values are lower. For now the sample point is fix @75%
338
while (!IS_FDCAN_NOMINAL_TSEG1(ntq / nominalPrescaler)) {
339
nominalPrescaler ++;
0 commit comments