From 76fcb1df68e76577927cff7e8d5e914ca28e3881 Mon Sep 17 00:00:00 2001
From: Alexandre Abadie <alexandre.abadie@inria.fr>
Date: Wed, 28 Feb 2018 14:53:50 +0100
Subject: [PATCH] pkg/semtech-loramac: fix doxygen documentation

---
 pkg/semtech-loramac/include/semtech_loramac.h | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/pkg/semtech-loramac/include/semtech_loramac.h b/pkg/semtech-loramac/include/semtech_loramac.h
index ff15246ebf..66897dac0b 100644
--- a/pkg/semtech-loramac/include/semtech_loramac.h
+++ b/pkg/semtech-loramac/include/semtech_loramac.h
@@ -56,6 +56,9 @@ enum {
     SEMTECH_LORAMAC_RX_DATA,                     /**< Data received */
 };
 
+/**
+ * @brief   Structure containing LoRaWAN RX data
+ */
 typedef struct {
     uint8_t payload[LORAWAN_APP_DATA_MAX_SIZE];  /**< RX payload buffer */
     uint8_t payload_len;                         /**< Length of the RX payload */
@@ -144,28 +147,28 @@ void semtech_loramac_get_appkey(uint8_t *key);
 /**
  * @brief   Sets the application session key
  *
- * @param[in] key           The application session key
+ * @param[in] skey          The application session key
  */
 void semtech_loramac_set_appskey(const uint8_t *skey);
 
 /**
  * @brief   Gets the application session key
  *
- * @param[in] key           The application session key
+ * @param[in] skey          The application session key
  */
 void semtech_loramac_get_appskey(uint8_t *skey);
 
 /**
  * @brief   Sets the network session key
  *
- * @param[in] key           The network session key
+ * @param[in] skey          The network session key
  */
 void semtech_loramac_set_nwkskey(const uint8_t *skey);
 
 /**
  * @brief   Gets the network session key
  *
- * @param[in] key           The network session key
+ * @param[in] skey          The network session key
  */
 void semtech_loramac_get_nwkskey(uint8_t *skey);
 
@@ -242,7 +245,7 @@ bool semtech_loramac_get_public_network(void);
 /**
  * @brief   Sets the NetID (only useful with ABP join procedure)
  *
- * @param[in] network_id    The NetID
+ * @param[in] netid        The NetID
  */
 void semtech_loramac_set_netid(uint32_t netid);
 
@@ -256,7 +259,7 @@ uint32_t semtech_loramac_get_netid(void);
 /**
  * @brief   Sets the channels TX power index
  *
- * @param[in] dr           The TX power index (from 1 to 16)
+ * @param[in] power        The TX power index (from 1 to 16)
  */
 void semtech_loramac_set_tx_power(uint8_t power);
 
@@ -284,7 +287,7 @@ uint32_t semtech_loramac_get_rx2_freq(void);
 /**
  * @brief   Sets the RX2 datarate
  *
- * @param[in] freq         The RX2 datarate
+ * @param[in] dr           The RX2 datarate
  */
 void semtech_loramac_set_rx2_dr(uint8_t dr);
 
-- 
GitLab