mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/ztimer: ztimer_now() add warning regarding comparing now() values
This commit is contained in:
parent
dad01c17f6
commit
32afae0b5f
@ -465,6 +465,9 @@ ztimer_now_t _ztimer_now_extend(ztimer_clock_t *clock);
|
||||
/**
|
||||
* @brief Get the current time from a clock
|
||||
*
|
||||
* @warning don't compare ztimer_now() values from different clocks. The
|
||||
* clocks are almost certainly not synchronized.
|
||||
*
|
||||
* @param[in] clock ztimer clock to operate on
|
||||
*
|
||||
* @return Current count on @p clock
|
||||
|
Loading…
Reference in New Issue
Block a user