[riot-notifications] [RIOT-OS/RIOT] drivers/sx126x: fix netdev send and recv function (#16570)

Francisco notifications at github.com
Mon Jun 28 11:03:42 CEST 2021


I had to apply this patch:

```diff
diff --git a/examples/lorawan/main.c b/examples/lorawan/main.c
index a8078fcd38..e4f5f1be9f 100644
--- a/examples/lorawan/main.c
+++ b/examples/lorawan/main.c
@@ -52,7 +52,14 @@ static kernel_pid_t sender_pid;
 static char sender_stack[THREAD_STACKSIZE_MAIN / 2];
 
 static semtech_loramac_t loramac;
+
+#if IS_USED(MODULE_SX127X)
 static sx127x_t sx127x;
+#endif
+
+#if IS_USED(MODULE_SX126X)
+static sx126x_t sx126x;
+#endif
 
 static const char *message = "This is RIOT!";

```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16570#issuecomment-869508678
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210628/3a4e69f4/attachment.htm>


More information about the notifications mailing list