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:
parent
74925c0ab0
commit
261a615439
@ -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*/
|
||||
|
Loading…
Reference in New Issue
Block a user