mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #18365 from kfessel/p-unittest-zt64init
test/unittest: initilize ztimer64 is required, use xtimer test-fib
This commit is contained in:
commit
be34719350
@ -31,6 +31,11 @@ int main(void)
|
|||||||
ztimer_init();
|
ztimer_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if MODULE_ZTIMER64_USEC || MODULE_ZTIMER64_MSEC || MODULE_ZTIMER64_SEC
|
||||||
|
/* auto_init is disabled, but some modules depends on this module being initialized */
|
||||||
|
ztimer64_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if IS_USED(MODULE_XTIMER) && !IS_USED(MODULE_ZTIMER_XTIMER_COMPAT)
|
#if IS_USED(MODULE_XTIMER) && !IS_USED(MODULE_ZTIMER_XTIMER_COMPAT)
|
||||||
/* auto_init is disabled, but some modules depends on this module being initialized */
|
/* auto_init is disabled, but some modules depends on this module being initialized */
|
||||||
xtimer_init();
|
xtimer_init();
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
CFLAGS += -DFIB_DEVEL_HELPER -DUNIVERSAL_ADDRESS_SIZE=16 -DUNIVERSAL_ADDRESS_MAX_ENTRIES=40
|
CFLAGS += -DFIB_DEVEL_HELPER -DUNIVERSAL_ADDRESS_SIZE=16 -DUNIVERSAL_ADDRESS_MAX_ENTRIES=40
|
||||||
|
|
||||||
USEMODULE += fib
|
USEMODULE += fib xtimer
|
||||||
|
Loading…
Reference in New Issue
Block a user