Skip to content

Commit

Permalink
ztimer: add module removal information to doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
kfessel committed May 13, 2022
1 parent 1e315c7 commit 3795d07
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions sys/include/ztimer.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,13 +301,26 @@ struct ztimer_base {
uint32_t offset; /**< offset from last timer in list */
};

/**
* @defgroup ztimer_now64 ztimer_now64
* @deprecated use uint32_t or ztimer64, will be removed after 2022.07 release.
*
* @brief deprecated module changes deprecated ztimer_now_t type
*
* use ztimer_now() returning uint32_t or alternatively use module ztimer64
* ztimer64_now() returning uint64_t.
* @{
*/
#if MODULE_ZTIMER_NOW64
typedef uint64_t ztimer_now_t; /**< type for ztimer_now() result
* @deprecated use uint32_t or ztimer64 */
* @deprecated use uint32_t or ztimer64,
* will be removed after 2022.07 release. */
#else
typedef uint32_t ztimer_now_t; /**< type for ztimer_now() result
* @deprecated use uint32_t or ztimer64 */
* @deprecated use uint32_t or ztimer64,
* will be removed after 2022.07 release. */
#endif
/** @}*/

/**
* @brief ztimer structure
Expand Down

0 comments on commit 3795d07

Please sign in to comment.