AnsweredAssumed Answered

Small error in KSDK 1.1.0 fsl_flexcan_driver.h

Question asked by Martin Rentschler on Feb 16, 2015
Latest reply on Feb 16, 2015 by Iva Dorazinova

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

Outcomes