1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #18054 from kfessel/p-deprecate-ztimer-now64

ztimer: deprecate ztimer_now64 and ztimer_now_t
This commit is contained in:
chrysn 2022-05-04 17:42:20 +02:00 committed by GitHub
commit 1259fb66e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -3,3 +3,4 @@
DEPRECATED_MODULES += event_thread_lowest
DEPRECATED_MODULES += gnrc_netdev_default
DEPRECATED_MODULES += sema_deprecated
DEPRECATED_MODULES += ztimer_now64

View File

@ -302,9 +302,11 @@ struct ztimer_base {
};
#if MODULE_ZTIMER_NOW64
typedef uint64_t ztimer_now_t; /**< type for ztimer_now() result */
typedef uint64_t ztimer_now_t; /**< type for ztimer_now() result
* @deprecated use uint32_t or ztimer64 */
#else
typedef uint32_t ztimer_now_t; /**< type for ztimer_now() result */
typedef uint32_t ztimer_now_t; /**< type for ztimer_now() result
* @deprecated use uint32_t or ztimer64 */
#endif
/**