Skip to content

Commit

Permalink
Clean classes
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkokurt committed Feb 19, 2024
1 parent d26a9f6 commit 63ff024
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions src/ArduinoIoTCloudTCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ ArduinoIoTCloudTCP::ArduinoIoTCloudTCP()
, _arduinoCloudThing()
, _deviceTopicOut("")
, _deviceTopicIn("")
, _shadowTopicOut("")
, _shadowTopicIn("")
, _dataTopicOut("")
, _dataTopicIn("")
#if OTA_ENABLED
, _ota_cap{false}
Expand Down Expand Up @@ -604,9 +602,7 @@ int ArduinoIoTCloudTCP::write(String const topic, byte const data[], int const l

void ArduinoIoTCloudTCP::updateThingTopics()
{
_shadowTopicOut = getTopic_shadowout();
_shadowTopicIn = getTopic_shadowin();
_dataTopicOut = getTopic_dataout();
_dataTopicIn = getTopic_datain();

clrThingIdOutdatedFlag();
Expand Down
6 changes: 1 addition & 5 deletions src/ArduinoIoTCloudTCP.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,9 @@ class ArduinoIoTCloudTCP: public ArduinoIoTCloudClass
SyncTime,
ConnectMqttBroker,
SendDeviceProperties,
CheckDeviceConfig,
SubscribeDeviceTopic,
WaitDeviceConfig,
CheckDeviceConfig,
SubscribeThingTopics,
RequestLastValues,
Connected,
Disconnect,
};
Expand Down Expand Up @@ -184,9 +182,7 @@ class ArduinoIoTCloudTCP: public ArduinoIoTCloudClass

String _deviceTopicOut;
String _deviceTopicIn;
String _shadowTopicOut;
String _shadowTopicIn;
String _dataTopicOut;
String _dataTopicIn;

#if OTA_ENABLED
Expand Down

0 comments on commit 63ff024

Please sign in to comment.