Small error in KSDK 1.1.0 fsl_flexcan_driver.h

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Small error in KSDK 1.1.0 fsl_flexcan_driver.h

801 Views
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

Labels (1)
0 Kudos
Reply
1 Reply

564 Views
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 Kudos
Reply