Skip to content
Snippets Groups Projects
Commit fd446f51 authored by Kees Bakker's avatar Kees Bakker
Browse files

loramac: change rxdelay1 to millisec, was seconds

The RN2xx3 device has this parameter in milliseconds. So far, there is no
other device driver using loramac.h

Notice that RN2xx3 only has a get command for rxdelay2, not a set command.
Nevertheless, that parameter was changed to milliseconds as well.
parent cf1a5e0c
No related branches found
No related tags found
No related merge requests found
...@@ -181,16 +181,16 @@ extern "C" { ...@@ -181,16 +181,16 @@ extern "C" {
#endif #endif
/** /**
* @brief Default first RX window delay (in s) * @brief Default first RX window delay (in ms)
*/ */
#ifndef LORAMAC_DEFAULT_RX1_DELAY #ifndef LORAMAC_DEFAULT_RX1_DELAY
#define LORAMAC_DEFAULT_RX1_DELAY (1U) #define LORAMAC_DEFAULT_RX1_DELAY (1000U)
#endif #endif
/** /**
* @brief Default first RX window delay (in s) * @brief Default second RX window delay (in ms)
*/ */
#define LORAMAC_DEFAULT_RX2_DELAY (1U + LORAMAC_DEFAULT_RX1_DELAY) #define LORAMAC_DEFAULT_RX2_DELAY (1000U + LORAMAC_DEFAULT_RX1_DELAY)
/** /**
* @brief Default automatic reply status * @brief Default automatic reply status
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment