Skip to content

Commit

Permalink
correct capitals
Browse files Browse the repository at this point in the history
  • Loading branch information
bertmelis authored Dec 19, 2023
1 parent 83ae78c commit edc00b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/espMqttClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class espMqttClient : public MqttClientSetup<espMqttClient, MQTTVERSION> {
espMqttClient()
: MqttClientSetup<espMqttClient, MQTTVERSION>(espMqttClientTypes::UseInternalTask::NO)
, _client() {
Mqttclient::_transport = &_client;
MqttClient::_transport = &_client;
}

protected:
Expand All @@ -41,7 +41,7 @@ class espMqttClientSecure : public MqttClientSetup<espMqttClientSecure, MQTTVERS
espMqttClientSecure()
: MqttClientSetup<espMqttClientSecure, MQTTVERSION>(espMqttClientTypes::UseInternalTask::NO)
, _client() {
Mqttclient::_transport = &_client;
MqttClient::_transport = &_client;
}

espMqttClientSecure& setInsecure() {
Expand Down Expand Up @@ -86,13 +86,13 @@ class espMqttClient : public MqttClientSetup<espMqttClient, MQTTVERSION> {
explicit espMqttClient(espMqttClientTypes::UseInternalTask useInternalTask)
: MqttClientSetup<espMqttClient, MQTTVERSION>(useInternalTask)
, _client() {
Mqttclient::_transport = &_client;
MqttClient::_transport = &_client;
}

explicit espMqttClient(uint8_t priority = 1, uint8_t core = 1)
: MqttClientSetup<espMqttClient, MQTTVERSION>(espMqttClientTypes::UseInternalTask::YES, priority, core)
, _client() {
Mqttclient::_transport = &_client;
MqttClient::_transport = &_client;
}

protected:
Expand All @@ -105,13 +105,13 @@ class espMqttClientSecure : public MqttClientSetup<espMqttClientSecure, MQTTVERS
explicit espMqttClientSecure(espMqttClientTypes::UseInternalTask useInternalTask)
: MqttClientSetup<espMqttClientSecure, MQTTVERSION>(useInternalTask)
, _client() {
Mqttclient::_transport = &_client;
MqttClient::_transport = &_client;
}

explicit espMqttClientSecure(uint8_t priority = 1, uint8_t core = 1)
: MqttClientSetup<espMqttClientSecure, MQTTVERSION>(espMqttClientTypes::UseInternalTask::YES, priority, core)
, _client() {
Mqttclient::_transport = &_client;
MqttClient::_transport = &_client;
}

espMqttClientSecure& setInsecure() {
Expand Down Expand Up @@ -151,7 +151,7 @@ class espMqttClient : public MqttClientSetup<espMqttClient, MQTTVERSION> {
espMqttClient()
: MqttClientSetup<espMqttClient, MQTTVERSION>(espMqttClientTypes::UseInternalTask::NO)
, _client() {
Mqttclient::_transport = &_client;
MqttClient::_transport = &_client;
}

protected:
Expand Down
2 changes: 1 addition & 1 deletion src/espMqttClientAsync.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class espMqttClientAsync : public MqttClientSetup<espMqttClientAsync, MQTTVERSIO
espMqttClientAsync()
: MqttClientSetup<espMqttClientAsync, MQTTVERSION>(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);
Expand Down

0 comments on commit edc00b0

Please sign in to comment.