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

ztimer: Use auto_init for manual init in bootloaders

This commit is contained in:
Koen Zandberg 2021-10-25 22:24:07 +02:00
parent 74925c0ab0
commit 261a615439
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -37,7 +37,7 @@
*/
#include "kernel_defines.h"
#if IS_USED(MODULE_AUTO_INIT_ZTIMER)
#if IS_USED(MODULE_AUTO_INIT_ZTIMER) || RIOTBOOT
#include "board.h"
#include "ztimer.h"
@ -302,4 +302,4 @@ void ztimer_init(void)
# endif
#endif
}
#endif /* IS_USED(MODULE_AUTO_INIT_ZTIMER) */
#endif /* IS_USED(MODULE_AUTO_INIT_ZTIMER) || RIOTBOOT*/