From c51a45cfd06682de3c7a500672f4e17ac715b181 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Fri, 19 Jun 2020 21:44:15 +0200 Subject: [PATCH] typo --- src/loraconf.sample.h | 2 +- src/loraconf_abp.cpp | 2 +- src/lorawan.cpp | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/loraconf.sample.h b/src/loraconf.sample.h index 826a39f9..a088cdc2 100644 --- a/src/loraconf.sample.h +++ b/src/loraconf.sample.h @@ -80,7 +80,7 @@ static const u4_t DEVADDR = 0x00000000; // <-- Change this address for every node! // set additional ABP parameters in loraconf_abp.cpp -void setABPParamaters(); +void setABPParameters(); #endif diff --git a/src/loraconf_abp.cpp b/src/loraconf_abp.cpp index 4a4971bf..76de2f73 100644 --- a/src/loraconf_abp.cpp +++ b/src/loraconf_abp.cpp @@ -13,7 +13,7 @@ * *********************************************************************/ -void setABPParamaters() { +void setABPParameters() { /** ************************************************************** * ************************************************************* */ diff --git a/src/lorawan.cpp b/src/lorawan.cpp index ac3dd1f2..0d39ded8 100644 --- a/src/lorawan.cpp +++ b/src/lorawan.cpp @@ -1,4 +1,5 @@ // Basic Config + #if (HAS_LORA) #include "lorawan.h" @@ -319,7 +320,7 @@ esp_err_t lora_stack_init(bool do_join) { memcpy_P(nwkskey, NWKSKEY, sizeof(NWKSKEY)); LMIC_setSession(NETID, DEVADDR, nwkskey, appskey); // These parameters are defined as macro in loraconf.h - setABPParamaters(); + setABPParameters(); #else // Start join procedure if not already joined, // lora_setupForNetwork(true) is called by eventhandler when joined