[riot-notifications] [RIOT-OS/RIOT] sys/ztimer: expose ZTIMER_MSEC/USEC_BASE (#13990)

Francisco notifications at github.com
Tue May 5 12:23:22 CEST 2020


@fjmolinas commented on this pull request.



> @@ -503,11 +503,21 @@ static inline void ztimer_init_extend(ztimer_clock_t *clock)
 }
 
 /* default ztimer virtual devices */
+/**

Do you mean:

A)
```
/**
 * @brief   Default ztimer microsecond clock
 */
extern ztimer_clock_t *const ZTIMER_USEC;

/* default ztimer virtual devices */
/**
 * @brief   Base ztimer for the microsecond clock
 */
extern ztimer_clock_t *const ZTIMER_USEC_BASE;

/**
 * @brief   Default ztimer millisecond clock
 */
extern ztimer_clock_t *const ZTIMER_MSEC;

/**
 * @brief   Base ztimer for the millisecond clock
 */
extern ztimer_clock_t *const ZTIMER_MSEC_BASE;
```

or B):

```
/**
 * @brief   Default ztimer microsecond clock
 */
extern ztimer_clock_t *const ZTIMER_USEC;

/**
 * @brief   Default ztimer millisecond clock
 */
extern ztimer_clock_t *const ZTIMER_MSEC;

/* default ztimer virtual devices */
/**
 * @brief   Base ztimer for the microsecond clock
 */
extern ztimer_clock_t *const ZTIMER_USEC_BASE;

/**
 * @brief   Base ztimer for the millisecond clock
 */
extern ztimer_clock_t *const ZTIMER_MSEC_BASE;
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/13990#discussion_r420006789
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200505/6938c6db/attachment.htm>


More information about the notifications mailing list