From 9b286c73d300d2bd0914538602002ef7f56ed38e Mon Sep 17 00:00:00 2001
From: Alexandre Abadie <alexandre.abadie@inria.fr>
Date: Wed, 28 Feb 2018 23:46:43 +0100
Subject: [PATCH] pkg/semtech-loramac: small fixes

- link to loramac-node github repository is broken
- the example code should return after a failed join procedure
---
 pkg/semtech-loramac/doc.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkg/semtech-loramac/doc.txt b/pkg/semtech-loramac/doc.txt
index b3719dd0dd..35734c16f9 100644
--- a/pkg/semtech-loramac/doc.txt
+++ b/pkg/semtech-loramac/doc.txt
@@ -7,7 +7,7 @@
  * # Introduction
  *
  * This package provides an API built on top of the
- * [Semtech LoRaMAC-node](github.com/Lora-net/LoRaMac-node) reference
+ * [Semtech LoRaMAC-node](https://github.com/Lora-net/LoRaMac-node) reference
  * implementation of a LoRa network.
  *
  *
@@ -87,6 +87,7 @@
  *     /* 4. join the network */
  *     if (semtech_loramac_join(LORAMAC_JOIN_OTAA) != SEMTECH_LORAMAC_JOIN_SUCCEEDED) {
  *         puts("Join procedure failed");
+ *         return 1;
  *     }
  *     puts("Join procedure succeeded");
  *
-- 
GitLab