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.
This commit is contained in:
parent
cf1a5e0cae
commit
fd446f516d
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user