You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/03/24 15:23:09 UTC
[GitHub] [incubator-nuttx-apps] patacongo commented on pull request #628: examples/oneshot: fixed wrong constant and refactored
patacongo commented on pull request #628:
URL: https://github.com/apache/incubator-nuttx-apps/pull/628#issuecomment-805917741
>
>
> > LGTM All except but the name of NSEC_PER_USEC seams backwards, doesn't it?
> > Number for Seconds per micros Second should be NUSEC_PER_SEC, Number for micros Seconds per Second but that looks like anther PR....
>
> It refers to nanoseconds per microsecond.
You are interpreting the name incorrectly. NSEC_PER_USEC does not stand for number seconds per microsecond, it stands for the number nanoseconds per microsecond. NSEC always refers to nanonseconds in clock.h.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org