From dd2e0bb7a708fe2302a4a6269e0c33a40fc19de1 Mon Sep 17 00:00:00 2001 From: Jose Alamos Date: Fri, 8 Mar 2019 17:47:22 +0100 Subject: [PATCH] pkg/semtech_loramac: use netdev_lora_rx_info structure for RX info --- pkg/semtech-loramac/contrib/semtech_loramac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/semtech-loramac/contrib/semtech_loramac.c b/pkg/semtech-loramac/contrib/semtech_loramac.c index 7e14f35242..d9620ef294 100644 --- a/pkg/semtech-loramac/contrib/semtech_loramac.c +++ b/pkg/semtech-loramac/contrib/semtech_loramac.c @@ -31,6 +31,7 @@ #include "mutex.h" #include "net/netdev.h" +#include "net/netdev/lora.h" #include "net/loramac.h" #include "sx127x.h" @@ -579,7 +580,7 @@ static void _semtech_loramac_call(semtech_loramac_func_t func, void *arg) static void _semtech_loramac_event_cb(netdev_t *dev, netdev_event_t event) { - netdev_sx127x_lora_packet_info_t packet_info; + netdev_lora_rx_info_t packet_info; msg_t msg; msg.content.ptr = dev;