From 01195a073fce30d2d7988c984f193729ed55be22 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Thu, 4 Jul 2019 19:33:48 +0200 Subject: [PATCH] pkg/semtech-loramac: handle rx started event in mac event callback This is only used for debugging purpose when ENABLE_DEBUG is set and avoid having a message about an unexpected event received --- pkg/semtech-loramac/contrib/semtech_loramac.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/semtech-loramac/contrib/semtech_loramac.c b/pkg/semtech-loramac/contrib/semtech_loramac.c index e86c41080b..0a2381dbc2 100644 --- a/pkg/semtech-loramac/contrib/semtech_loramac.c +++ b/pkg/semtech-loramac/contrib/semtech_loramac.c @@ -543,6 +543,10 @@ static void _semtech_loramac_event_cb(netdev_t *dev, netdev_event_t event) } break; + case NETDEV_EVENT_RX_STARTED: + DEBUG("[semtech-loramac] RX started\n"); + break; + case NETDEV_EVENT_RX_COMPLETE: { size_t len;