mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-11 01:10:20 +01:00
Make function getClientId const
This commit is contained in:
@@ -20,7 +20,7 @@ public:
|
||||
void unsubscribe(const String& topic);
|
||||
|
||||
String getPrefix() const;
|
||||
String getClientId();
|
||||
String getClientId() const;
|
||||
|
||||
private:
|
||||
void NetworkEvent(network_event event);
|
||||
|
||||
@@ -179,7 +179,7 @@ String MqttSettingsClass::getPrefix() const
|
||||
return Configuration.get().Mqtt.Topic;
|
||||
}
|
||||
|
||||
String MqttSettingsClass::getClientId()
|
||||
String MqttSettingsClass::getClientId() const
|
||||
{
|
||||
String clientId = Configuration.get().Mqtt.ClientId;
|
||||
if (clientId == "") {
|
||||
|
||||
Reference in New Issue
Block a user