mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #16528 from janosbrodbeck/pr/dtls/auto_init_before_gcoap
sys/auto_init: move sock_dtls after network stack initialization
This commit is contained in:
commit
029cc50e72
@ -108,6 +108,11 @@ void auto_init(void)
|
||||
extern void lwip_bootstrap(void);
|
||||
lwip_bootstrap();
|
||||
}
|
||||
if (IS_USED(MODULE_SOCK_DTLS)) {
|
||||
LOG_DEBUG("Auto init sock_dtls.\n");
|
||||
extern void sock_dtls_init(void);
|
||||
sock_dtls_init();
|
||||
}
|
||||
if (IS_USED(MODULE_OPENTHREAD)) {
|
||||
LOG_DEBUG("Bootstrapping openthread.\n");
|
||||
extern void openthread_bootstrap(void);
|
||||
@ -169,11 +174,6 @@ void auto_init(void)
|
||||
extern void auto_init_loramac(void);
|
||||
auto_init_loramac();
|
||||
}
|
||||
if (IS_USED(MODULE_SOCK_DTLS)) {
|
||||
LOG_DEBUG("Auto init sock_dtls.\n");
|
||||
extern void sock_dtls_init(void);
|
||||
sock_dtls_init();
|
||||
}
|
||||
|
||||
/* initialize USB devices */
|
||||
if (IS_USED(MODULE_AUTO_INIT_USBUS)) {
|
||||
|
Loading…
Reference in New Issue
Block a user