Small error in KSDK 1.1.0 fsl_flexcan_driver.h

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Small error in KSDK 1.1.0 fsl_flexcan_driver.h

1,170 次查看
martinr_
Contributor II

Hi guys and gals,

 

there seems to be a small error in the FLEXCAN_DRV_Send documentation in fsl_flexcan_driver.h.

 

* @param   timeout_ms A timeout for the transfer in microseconds.

should be

* @param   timeout_ms A timeout for the transfer in milliseconds.

 

as is evident by the name itself (ms commonly being the acronym for milliseconds) and by checking the source code, which calls

OSA_SemaWait(&state->txIrqSync, timeout_ms);

which in turn declares "The parameter timeout indicates how long should wait in milliseconds." [sic].

 

I don't know if there's a (public) issue tracker for KDSK, so please feel free to add it to your list. Thanks.

 

Regards,

Martin

标签 (1)
标记 (4)
0 项奖励
回复
1 回复

933 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Martin Rentschler,


Yes, you are right. It should be milliseconds.

It is a good point! Thank you for your report. I will transmit the information to KSDK development team.

Best Regards,

Iva

0 项奖励
回复