mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #13577 from kaspar030/fix_ztimer_rtt_logic
sys/ztimer: fix typo in rtt conversion selection
This commit is contained in:
commit
d405cb7dd1
@ -108,7 +108,7 @@ ztimer_clock_t *const ZTIMER_USEC = &_ztimer_convert_frac_usec.super.super;
|
||||
# if MODULE_PERIPH_RTT
|
||||
static ztimer_periph_rtt_t _ztimer_periph_timer_rtt_msec;
|
||||
# define ZTIMER_RTT_INIT (&_ztimer_periph_timer_rtt_msec)
|
||||
# if RTT_FREQUENCY!=FREQ_1MHZ
|
||||
# if RTT_FREQUENCY!=FREQ_1KHZ
|
||||
static ztimer_convert_frac_t _ztimer_convert_frac_msec;
|
||||
ztimer_clock_t *const ZTIMER_MSEC = &_ztimer_convert_frac_msec.super.super;
|
||||
# define ZTIMER_MSEC_CONVERT_LOWER_FREQ RTT_FREQUENCY
|
||||
|
Loading…
Reference in New Issue
Block a user