typo
This commit is contained in:
parent
8f46feaf33
commit
c51a45cfd0
@ -80,7 +80,7 @@ static const u4_t DEVADDR =
|
|||||||
0x00000000; // <-- Change this address for every node!
|
0x00000000; // <-- Change this address for every node!
|
||||||
|
|
||||||
// set additional ABP parameters in loraconf_abp.cpp
|
// set additional ABP parameters in loraconf_abp.cpp
|
||||||
void setABPParamaters();
|
void setABPParameters();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
*********************************************************************/
|
*********************************************************************/
|
||||||
|
|
||||||
void setABPParamaters() {
|
void setABPParameters() {
|
||||||
|
|
||||||
/** **************************************************************
|
/** **************************************************************
|
||||||
* ************************************************************* */
|
* ************************************************************* */
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// Basic Config
|
// Basic Config
|
||||||
|
|
||||||
#if (HAS_LORA)
|
#if (HAS_LORA)
|
||||||
#include "lorawan.h"
|
#include "lorawan.h"
|
||||||
|
|
||||||
@ -319,7 +320,7 @@ esp_err_t lora_stack_init(bool do_join) {
|
|||||||
memcpy_P(nwkskey, NWKSKEY, sizeof(NWKSKEY));
|
memcpy_P(nwkskey, NWKSKEY, sizeof(NWKSKEY));
|
||||||
LMIC_setSession(NETID, DEVADDR, nwkskey, appskey);
|
LMIC_setSession(NETID, DEVADDR, nwkskey, appskey);
|
||||||
// These parameters are defined as macro in loraconf.h
|
// These parameters are defined as macro in loraconf.h
|
||||||
setABPParamaters();
|
setABPParameters();
|
||||||
#else
|
#else
|
||||||
// Start join procedure if not already joined,
|
// Start join procedure if not already joined,
|
||||||
// lora_setupForNetwork(true) is called by eventhandler when joined
|
// lora_setupForNetwork(true) is called by eventhandler when joined
|
||||||
|
Loading…
Reference in New Issue
Block a user