Skip to content

Commit

Permalink
fixup! ztimer: add module removal information to doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
kfessel committed May 14, 2022
1 parent 3795d07 commit b085ee5
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions sys/include/ztimer.h
Original file line number Diff line number Diff line change
Expand Up @@ -302,25 +302,26 @@ struct ztimer_base {
};

/**
* @defgroup ztimer_now64 ztimer_now64
* @deprecated use uint32_t or ztimer64, will be removed after 2022.07 release.
* @defgroup sys_ztimer_now64 ztimer_now64
* @brief 64-bit timestamp support
*
* @brief deprecated module changes deprecated ztimer_now_t type
* @deprecated use @ref ztimer_now() returning uint32_t or alternatively use
* module `ztimer64` with @ref ztimer64_now() returning uint64_t.
* Will be removed after 2022.10 release.
*/
/**
* @typedef ztimer_now_t
* @brief type for ztimer_now() result
*
* use ztimer_now() returning uint32_t or alternatively use module ztimer64
* ztimer64_now() returning uint64_t.
* @{
* @deprecated use @ref ztimer_now() returning uint32_t or alternatively use
* module `ztimer64` with @ref ztimer64_now() returning uint64_t,
* Will be removed after 2022.10 release.
*/
#if MODULE_ZTIMER_NOW64
typedef uint64_t ztimer_now_t; /**< type for ztimer_now() result
* @deprecated use uint32_t or ztimer64,
* will be removed after 2022.07 release. */
typedef uint64_t ztimer_now_t;
#else
typedef uint32_t ztimer_now_t; /**< type for ztimer_now() result
* @deprecated use uint32_t or ztimer64,
* will be removed after 2022.07 release. */
typedef uint32_t ztimer_now_t;
#endif
/** @}*/

/**
* @brief ztimer structure
Expand Down

0 comments on commit b085ee5

Please sign in to comment.