remove unused variable

This commit is contained in:
technyon
2022-05-15 19:38:57 +02:00
parent 6bbfc4dfd0
commit a7096158a8
3 changed files with 2 additions and 3 deletions

View File

@@ -8,8 +8,7 @@
Network* nwInst;
Network::Network(const NetworkDeviceType networkDevice, Preferences* preferences)
: _preferences(preferences),
_networkDeviceType(networkDevice)
: _preferences(preferences)
{
nwInst = this;

View File

@@ -60,7 +60,6 @@ private:
NetworkDevice* _device = nullptr;
Preferences* _preferences;
String _hostname;
NetworkDeviceType _networkDeviceType;
bool _mqttConnected = false;

View File

@@ -7,6 +7,7 @@
#define preference_mqtt_password "mqttpass"
#define preference_mqtt_path "mqttpath"
#define preference_hostname "hostname"
#define preference_network_timeout "nettmout"
#define preference_query_interval_lockstate "lockStInterval"
#define preference_query_interval_battery "batInterval"
#define preference_cred_user "crdusr"