mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
Merge pull request #18352 from kfessel/p-fix-unittestxztimerdoubleinit
unittest/main: do not intialize xtimer if ztimer_xtimer_compat
This commit is contained in:
commit
a43f4cbf9f
@ -31,7 +31,7 @@ int main(void)
|
||||
ztimer_init();
|
||||
#endif
|
||||
|
||||
#ifdef MODULE_XTIMER
|
||||
#if IS_USED(MODULE_XTIMER) && !IS_USED(MODULE_ZTIMER_XTIMER_COMPAT)
|
||||
/* auto_init is disabled, but some modules depends on this module being initialized */
|
||||
xtimer_init();
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user