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

36 lines
672 B
C

/*
* Copyright (C) 2019 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*
*/
/**
* @ingroup sys_auto_init_gnrc_netif
* @{
*
* @file
* @brief Auto initialization for Semtech Loramac-node package
*
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifdef MODULE_SEMTECH_LORAMAC
#include "log.h"
#include "semtech_loramac.h"
semtech_loramac_t loramac;
void auto_init_loramac(void)
{
semtech_loramac_init(&loramac);
}
#else
typedef int dont_be_pedantic;
#endif /* MODULE_SEMTECH_LORAMAC */
/** @} */