Correct comment in time.h (#715)
There was `microseconds` written where there should have been `milliseconds`. Co-authored-by: Stephen <stephen@drsudo.com>
This commit is contained in:
parent
25a3b36793
commit
b3cf3e8f6f
@ -76,7 +76,7 @@ static inline uint32_t us_to_ms(uint64_t us) {
|
|||||||
* \ingroup timestamp
|
* \ingroup timestamp
|
||||||
* \brief Convert a timestamp into a number of milliseconds since boot.
|
* \brief Convert a timestamp into a number of milliseconds since boot.
|
||||||
* \param t an absolute_time_t value to convert
|
* \param t an absolute_time_t value to convert
|
||||||
* \return the number of microseconds since boot represented by t
|
* \return the number of milliseconds since boot represented by t
|
||||||
* \sa to_us_since_boot()
|
* \sa to_us_since_boot()
|
||||||
*/
|
*/
|
||||||
static inline uint32_t to_ms_since_boot(absolute_time_t t) {
|
static inline uint32_t to_ms_since_boot(absolute_time_t t) {
|
||||||
|
Loading…
Reference in New Issue
Block a user