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:
Stephen Robinson 2022-01-22 17:57:47 -08:00 committed by GitHub
parent 25a3b36793
commit b3cf3e8f6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {