revert change main.h -> main.conf
This commit is contained in:
1 parent
4b46c19db0
commit
ec5f781cfc
6 files changed
+21
-21
No files matched your search
@@ -1,6 +1,6 @@
|
||||
/* configmanager persists runtime configuration using NVRAM of ESP32*/
|
||||
|
||||
#include "main.conf"
|
||||
#include "main.h"
|
||||
#include "globals.h"
|
||||
#include <nvs.h>
|
||||
#include <nvs_flash.h>
|
||||
@@ -19,7 +19,7 @@ esp_err_t err;
|
||||
|
||||
// populate cfg vars with factory settings
|
||||
void defaultConfig() {
|
||||
cfg.lorasf = LORASFDEFAULT; // 7-12, initial lora spreadfactor defined in main.conf
|
||||
cfg.lorasf = LORASFDEFAULT; // 7-12, initial lora spreadfactor defined in main.h
|
||||
cfg.txpower = 15; // 2-15, lora tx power
|
||||
cfg.adrmode = 1; // 0=disabled, 1=enabled
|
||||
cfg.screensaver = 0; // 0=disabled, 1=enabled
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Basic Config
|
||||
#include "main.conf"
|
||||
#include "main.h"
|
||||
#include "globals.h"
|
||||
|
||||
// LMIC-Arduino LoRaWAN Stack
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ Refer to LICENSE.txt file in repository for more details.
|
||||
*/
|
||||
|
||||
// Basic Config
|
||||
#include "main.conf"
|
||||
#include "main.h"
|
||||
#include "globals.h"
|
||||
|
||||
// OLED driver
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
// checks commands and executes each command with 1 argument per command
|
||||
|
||||
// Basic Config
|
||||
#include "main.conf"
|
||||
#include "main.h"
|
||||
#include "globals.h"
|
||||
|
||||
// LMIC-Arduino LoRaWAN Stack
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Basic Config
|
||||
#include "main.conf"
|
||||
#include "main.h"
|
||||
#include "globals.h"
|
||||
|
||||
// ESP32 Functions
|
||||
|
||||
Reference in new issue
Block a user