mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 18:29:48 +02:00
Remove even more USER_SETTINGS
This commit is contained in:
parent
688ba0388c
commit
7328f7b99b
4 changed files with 11 additions and 47 deletions
|
@ -4,29 +4,11 @@
|
|||
#include "../utils/logging.h"
|
||||
#include "USER_SETTINGS.h"
|
||||
|
||||
#if defined(WIFI) || defined(WEBSERVER)
|
||||
const bool wifi_enabled_default = true;
|
||||
#else
|
||||
const bool wifi_enabled_default = false;
|
||||
#endif
|
||||
|
||||
bool wifi_enabled = wifi_enabled_default;
|
||||
|
||||
bool wifiap_enabled = true; //Old method was with ifdef
|
||||
|
||||
#ifdef MDNSRESPONDER
|
||||
const bool mdns_enabled_default = true;
|
||||
#else
|
||||
const bool mdns_enabled_default = false;
|
||||
#endif
|
||||
bool mdns_enabled = mdns_enabled_default;
|
||||
|
||||
#ifdef CUSTOM_HOSTNAME
|
||||
std::string custom_hostname = CUSTOM_HOSTNAME;
|
||||
#else
|
||||
std::string custom_hostname;
|
||||
#endif
|
||||
bool wifi_enabled = true;
|
||||
bool wifiap_enabled = true;
|
||||
bool mdns_enabled = true; //If true, allows battery monitor te be found by .local address
|
||||
|
||||
std::string custom_hostname; //If not set, the default naming format 'esp32-XXXXXX' will be used
|
||||
std::string ssidAP;
|
||||
|
||||
// Configuration Parameters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue