mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 18:29:48 +02:00
Remove USER_SETTINGS for good
This commit is contained in:
parent
da560e1629
commit
53d40cbe51
18 changed files with 21 additions and 59 deletions
|
@ -2,7 +2,6 @@
|
|||
#include <ESPmDNS.h>
|
||||
#include "../utils/events.h"
|
||||
#include "../utils/logging.h"
|
||||
#include "USER_SETTINGS.h"
|
||||
|
||||
bool wifi_enabled = true;
|
||||
bool wifiap_enabled = true;
|
||||
|
@ -15,6 +14,12 @@ std::string password;
|
|||
std::string ssidAP;
|
||||
std::string passwordAP;
|
||||
|
||||
// Set your Static IP address. Only used incase Static address option is set
|
||||
//TODO: Make configurable via webserver
|
||||
IPAddress local_IP(192, 168, 10, 150);
|
||||
IPAddress gateway(192, 168, 10, 1);
|
||||
IPAddress subnet(255, 255, 255, 0);
|
||||
|
||||
// Configuration Parameters
|
||||
static const uint16_t WIFI_CHECK_INTERVAL = 2000; // 1 seconds normal check interval when last connected
|
||||
static const uint16_t STEP_WIFI_CHECK_INTERVAL = 2000; // 3 seconds wait step increase in checks for normal reconnects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue