From edc00b08f9520844188522b913f165020f12882c Mon Sep 17 00:00:00 2001 From: Bert Melis Date: Tue, 19 Dec 2023 11:57:58 +0100 Subject: [PATCH] correct capitals --- src/espMqttClient.h | 14 +++++++------- src/espMqttClientAsync.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/espMqttClient.h b/src/espMqttClient.h index 1e8c434..a712bc4 100644 --- a/src/espMqttClient.h +++ b/src/espMqttClient.h @@ -28,7 +28,7 @@ class espMqttClient : public MqttClientSetup { espMqttClient() : MqttClientSetup(espMqttClientTypes::UseInternalTask::NO) , _client() { - Mqttclient::_transport = &_client; + MqttClient::_transport = &_client; } protected: @@ -41,7 +41,7 @@ class espMqttClientSecure : public MqttClientSetup(espMqttClientTypes::UseInternalTask::NO) , _client() { - Mqttclient::_transport = &_client; + MqttClient::_transport = &_client; } espMqttClientSecure& setInsecure() { @@ -86,13 +86,13 @@ class espMqttClient : public MqttClientSetup { explicit espMqttClient(espMqttClientTypes::UseInternalTask useInternalTask) : MqttClientSetup(useInternalTask) , _client() { - Mqttclient::_transport = &_client; + MqttClient::_transport = &_client; } explicit espMqttClient(uint8_t priority = 1, uint8_t core = 1) : MqttClientSetup(espMqttClientTypes::UseInternalTask::YES, priority, core) , _client() { - Mqttclient::_transport = &_client; + MqttClient::_transport = &_client; } protected: @@ -105,13 +105,13 @@ class espMqttClientSecure : public MqttClientSetup(useInternalTask) , _client() { - Mqttclient::_transport = &_client; + MqttClient::_transport = &_client; } explicit espMqttClientSecure(uint8_t priority = 1, uint8_t core = 1) : MqttClientSetup(espMqttClientTypes::UseInternalTask::YES, priority, core) , _client() { - Mqttclient::_transport = &_client; + MqttClient::_transport = &_client; } espMqttClientSecure& setInsecure() { @@ -151,7 +151,7 @@ class espMqttClient : public MqttClientSetup { espMqttClient() : MqttClientSetup(espMqttClientTypes::UseInternalTask::NO) , _client() { - Mqttclient::_transport = &_client; + MqttClient::_transport = &_client; } protected: diff --git a/src/espMqttClientAsync.h b/src/espMqttClientAsync.h index 9519a87..97b8162 100644 --- a/src/espMqttClientAsync.h +++ b/src/espMqttClientAsync.h @@ -23,7 +23,7 @@ class espMqttClientAsync : public MqttClientSetup(espMqttClientTypes::UseInternalTask::NO) , _clientAsync() { - Mqttclient::_transport = &_clientAsync; + MqttClient::_transport = &_clientAsync; _clientAsync.client.onConnect(onConnectCb, this); _clientAsync.client.onDisconnect(onDisconnectCb, this); _clientAsync.client.onData(onDataCb, this);