From 660b37508210548691419a41b2fa3abf5a240e8d Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 3 Jul 2019 14:42:26 +0200 Subject: [PATCH] tests/pkg_semtech-loramac: don't init mac from main This application already uses auto_init and semtech_loramac_init is already called from auto_init_loramac --- tests/pkg_semtech-loramac/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/pkg_semtech-loramac/main.c b/tests/pkg_semtech-loramac/main.c index 4347405e25b2..78fa6ef43852 100644 --- a/tests/pkg_semtech-loramac/main.c +++ b/tests/pkg_semtech-loramac/main.c @@ -73,8 +73,6 @@ static void *_wait_recv(void *arg) int main(void) { - semtech_loramac_init(&loramac); - #ifdef MODULE_SEMTECH_LORAMAC_RX thread_create(_recv_stack, sizeof(_recv_stack), THREAD_PRIORITY_MAIN - 1, 0, _wait_recv, NULL, "recv thread");