remove unused variable
This commit is contained in:
@@ -8,8 +8,7 @@
|
||||
Network* nwInst;
|
||||
|
||||
Network::Network(const NetworkDeviceType networkDevice, Preferences* preferences)
|
||||
: _preferences(preferences),
|
||||
_networkDeviceType(networkDevice)
|
||||
: _preferences(preferences)
|
||||
{
|
||||
nwInst = this;
|
||||
|
||||
|
||||
@@ -60,7 +60,6 @@ private:
|
||||
NetworkDevice* _device = nullptr;
|
||||
Preferences* _preferences;
|
||||
String _hostname;
|
||||
NetworkDeviceType _networkDeviceType;
|
||||
|
||||
bool _mqttConnected = false;
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user